給你寫了一個. def convert(c, key, start = "a", n = 26):. a = ord(start). offset = ((ord(c) - a + key)%n). return chr(a + offset).
確定! 回上一頁