W3SCHOOLS截圖 林墐佩W3SCHOOLS字碼與字元 顯示字碼與字元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 繪圖文或表情符號
林墐佩輸入參數 輸入k 輸入m 輸入n 執行自訂函數 pink red green blue 重點 span手掌張開拇指到小指,短橋梁長度。 VSCode是IDE整合開發環境。 CTRL+SHIFT+L一次改全部 Integrated Development Environment alert內建函數,自訂函數abc 利用id加上syle方法是#id 林墐佩輸出結果
單元371影片 vs code與w3schools截圖 程式碼 txt = "林墐佩Love奇異果,奇異果我my favoritE水果奇異果" print(txt.count("奇異果")) print('先練習內建函數len',len(txt)) print('find',txt.find("奇異果")) print('rfind',txt.rfind("奇異果")) print("print列印,字串string字元character的組合") print(txt.title()) print(txt.lower()) print(txt.upper()) print(txt.swapcase()) print(txt.zfill(32)) print(txt.startswith("林")) print(len(txt)) for i in range(33333, 33344): print(chr(i)) for i in range(65, 70): print(chr(i)) w3schools字串方法列表 Method Description capitalize() Converts the first character to upper case casefold() Converts string into lower case center() Returns a centered string count() Returns the number of times a specified value occurs in a string encode() Returns an encoded version of the string endswith() Returns true if the string ends with the specified value expandtabs() Sets the tab size of the string find() Searches the string for a specified v...
1225有動手做,就是優秀!超級優秀!超級讓人讚嘆!你是全人類的希望!
回覆刪除