#Reverse Cipher
message = 'there can keep a secret,if two of them are dead.'
translated = ''
i = len(message)-1
while i >= 0:
translated = translated + message[i]
i = i-1
print translated
>>>C:\Python27\python.exe E:/Python/密码学编程/5.py
.daed era meht fo owt fi,terces a peek nac ereht Process finished with exit code 0
仅允许非商业转载,转载请注明出处