劉劭祺EXCEL的unicode與unichair相當於python的ord與chr

SOLD實心.DASHED虛線.DOTTED點線
  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.嵌入embed影片、網頁,很完整。https://liushaouchi.blogspot.com/2026/09/excelleftmidrightpythonfind.html
    914.順利執行,神人級的優秀!https://liushaouchi.blogspot.com/2026/09/python.html
    907.PRE要結束,使用才不至於
    907.要用PRE它相當於Word文字方塊。https://liushaouchi.blogspot.com/2026/09/pythonhtmlcssjavascript.html

    回覆刪除
  2. 915.嵌入embed影片、網頁,很完整。https://liushaouchi.blogspot.com/2026/09/excelleftmidrightpythonfind.html
    914.順利執行,神人級的優秀!https://liushaouchi.blogspot.com/2026/09/python.html
    907.PRE要結束,使用</PRE>才不至於整個都在框內。https://liushaouchi.blogspot.com/2026/09/excelunicodeunichairpythonordchr.html
    907.要用PRE它相當於Word文字方塊。https://liushaouchi.blogspot.com/2026/09/pythonhtmlcssjavascript.html

    回覆刪除

張貼留言

這個網誌中的熱門文章

劉劭祺EXCEL函數COUNTIF樞紐分析