#28730: Python 解答


oxxostudio (oxxo.studio)

學校 : 不指定學校
編號 : 173961
來源 : [220.133.228.250]
最後登入時間 :
2022-07-21 09:26:00

使用 for 迴圈與 range 搭配,將密碼的字母依序取出,
透過 ord 轉換為 Unicode 字元,讓兩個字母的 Unicode 字元相減 ( 使用 abs 絕對值 ),就會得到正確的密碼。

解答:https://steam.oxxostudio.tw/category/python/zerojudge/a065.html