标签:ini translate proc 加密 cipher 密码 can div 反转
1 #Reverse Cipher 2 message = ‘there can keep a secret,if two of them are dead.‘ 3 translated = ‘‘ 4 i = len(message)-1 5 while i >= 0: 6 translated = translated + message[i] 7 i = i-1 8 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
标签:ini translate proc 加密 cipher 密码 can div 反转
原文地址:http://www.cnblogs.com/Archimedes/p/7064281.html