這個網誌中的熱門文章
陳梧稚python內建built-in函數functions迴圈loop
截圖 程式碼 print(int(10)) print(int("ff",16)) print(int('100',16)) print(int('100',8)) a = [0>1, 2>1, 3==3]#串列list使用square bracket中括號 print("是否all全真",all(a)) print("存在任何any一個真",any(a)) print("陳梧稚bin二進位輸出一到9") for i in range(10): #0 to 9進位1 print(bin(i)) for i in range(0, 200, 10): print(hex(i)) a = ('蘋果', '香蕉', '櫻桃',"durian") b = "Hello World" c = 33 d ={'蘋果', '香蕉', '櫻桃',"durian"} e=['蘋果', '香蕉', '櫻桃',"durian"] print("a元組typle", type(a)) print("b字串", type(b)) print("c整數integer", type(c)) print(type(d), type(e)) w3schools內建函數列表 Python has a set of built-in functions. Function Description abs() Returns the absolute value of a number all() Returns True if all items in an iterable object are true any() Returns True if any item in an iterable object is true ascii() Returns a readabl...
陳梧稚 EMOJI ASCII
W3SCHOOLS截圖 陳梧稚OOLS字碼與字元 顯示字碼與字元A B C 顯示display字碼65,66: A B 顯示display字碼十六進位41,42: A B 顯示display字碼97,98: a b 顯示字碼60,61, 62: < = > 顯示字碼128540: 影片299 影片300 影片301 維基百科ASCII AMERICAN STANTARD CODE FOR INFORMATTION INTERCHANGE美國資訊交換標準碼 維基百科EMOJI 繪圖文或表情符號 在撰寫模式下編寫程式碼 <STYLE> H1{BORDER: DASHED 10PX BLUE; PADDING: 10PX; TEXT-ALIGN: CENTER;BACKGROUND-COLOR: RED; COLOR: WHITE;} .a{FONT-SIZE: 100PX} </STYLE> <H1>W3SCHOOLS截圖</H1> <div class="separator" style="clear: both;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhuOa7LW9xvlK-N231QCW3Mm9B6Jl2Hxf_H_7UwwVn56vq5Dbj_-jQsKMFXq-vk_MvprnRXSpIq-5ZBJllZfApGrWqmleIhOpgWxoYFV48r0ADxbzm66mlzZ-TETudNiD5gCb7vItHuWYS1nTu2DFKbYWXQB_pTyJ83n627EDd8OzJeEznSQdB19CbQFEc-/s1600/%E6%93%B7%E5%8F%96.PNG" style="display: block; padding: 1em 0px; text-align: center;"><img alt="" border="0" data-original-height="635...
1120截圖太大,導致程式碼不清楚。https://chen0119.blogspot.com/2023/11/vscodehtmlcssjs.html
回覆刪除