巫美瑩#python 常用的內建函數print, type, ord字碼, chr字元,,chr代表character

#python常用的內建函數print, type, ord字碼, chr字元,chr代表character
one = "一"
print(one,'的型態',type(one))
print(one, "的字碼", ord(one))
for i in range(19968,20000):
   print(i,'的字元',chr(i))

留言

  1. 921.這個用pre才可以清楚呈現。https://wumeiyingying181818.blogspot.com/2026/09/pythonhtmlcssjavasc.html
    922.商業軟體,正確執行。https://wumeiyingying181818.blogspot.com/2026/09/excel.html
    915.https://wumeiyingying181818.blogspot.com/2026/09/txt123-printlentxtfind.html
    914.金融市場常識互動網頁,順利執行!記得問老師如何改變框的顏色。https://wumeiyingying181818.blogspot.com/2026/09/apptkinter-f.html
    907第一次上課!https://wumeiyingying181818.blogspot.com/2026/09/python-print-type-ord-chrchrcharacter.html

    回覆刪除

張貼留言

這個網誌中的熱門文章

巫美瑩PYTHON_HTML_CSS_JAVASC

巫美瑩的EXCEL產生網頁