丁子芹PYTHON_HTML_CSS_JAVASCRIPT

 <PRE STYLE="BORDER: SOLID PINK 6PX;FONT-SIZE:1.2EM">

#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))
</PRE>

留言

  1. 914順利執行!超人級的優秀,繼續學習,壯大自己,地球需要你來保衛!https://ding-zi-qin.blogspot.com/2026/09/pythonjavascript.html
    911必須在html模式下貼上,pre才會有作用。https://ding-zi-qin.blogspot.com/2026/09/pythonhtmlcssjavascript.html

    回覆刪除

張貼留言

這個網誌中的熱門文章

丁子芹w3schools字串str串列list集合set字典dict元組tuple

丁子芹python集合set字典dict統計字元數目37,241,不同字元數1,251