黃哲暉excel的unicode與unichar相當於python的ord與chr

a = "一" #定義一個變數a
print(a, ord(a))
print("XFD相當於",24*26*26+6*26+4)
print("2的14次方",2**14)
for pig in range(19968, 20000):
    print(pig,"字碼的字元是",chr(pig))

留言

  1. 915商業軟體,成功嵌入維基百科網頁。https://huangzhehui.blogspot.com/2026/09/excelleftmidrightpythonfind.html
    914,金融市場測驗互動網頁,順利執行。https://huangzhehui.blogspot.com/2026/09/blog-post_14.html
    908商業軟體。https://huangzhehui.blogspot.com/2026/09/excelunicodeunicharpythonordchr.html

    回覆刪除

張貼留言

這個網誌中的熱門文章

黃哲暉Python撰寫金融常識測驗網頁

黃哲暉PYTHON字串方法IN找到特定題號和題目