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

    回覆刪除

張貼留言

這個網誌中的熱門文章

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

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