內建函數print, type, ord字碼, chr字元

#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. 915商業軟體,完整呈現,也會使用<與>,極度優秀!https://kuozhehao.blogspot.com/2026/09/excelleftmidrightpythonfind.html
    914,金融常識互動網頁,順利執行。https://kuozhehao.blogspot.com/2026/09/python.html
    908. https://kuozhehao.blogspot.com/2026/09/print-type-ord-chr.html

    回覆刪除

張貼留言

這個網誌中的熱門文章

郭哲豪excel產生網頁

乙班郭哲豪w3schools學習python字串list串列set集合dict字典