王芷嫻EXCEL的unicode與unichar相當於python的ord與chr

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. 914,金融市場常識測驗網頁,順利執行!震古鑠今的偉大成就!https://wangzhixian0508.blogspot.com/2026/09/python.html
    908,商業軟體。https://wangzhixian0508.blogspot.com/2026/09/excelunicodeunicharpythonordchr.html

    回覆刪除

張貼留言

這個網誌中的熱門文章

王芷嫻Python撰寫金融常識測驗網頁

王芷嫻w3schools字串str串列list集合set字典dict元組tuple