#28730: Python 解答


oxxostudio (oxxo.studio)


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

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