标签:
a = ‘VJG SWKEM DTQYP HQZ LWORU QXGT VJG NCBA FQI QH ECGUCT CPF AQWT WPKSWG UQNWVKQP KU TRNRHNKFUHKG‘ for i in range(1,26): ans = [] for each in a: if each == ‘ ‘: ans.append(‘ ‘) else: temp = ord(each)+i if temp > ord(‘Z‘): temp -= 26 temp = chr(temp) ans.append(temp) for each in ans: print(each,end = ‘‘) print(‘‘)
WeChall_Training: Crypto - Caesar I (Crypto, Training)
标签:
原文地址:http://www.cnblogs.com/zhurb/p/5839521.html