print(s) #印出原字串 print(abs(sum(list(map(int,s[0::2])))- sum(list(map(int,s[1::2]))))) #印出秘密差. 說明:. 1. f.readline().strip('\n')在讀入後立即將換行 ...
確定! 回上一頁