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

   仅允许非商业转载,转载请注明出处

相关文章:

  • 2021-07-10
  • 2021-12-09
  • 2022-12-23
  • 2021-10-20
  • 2021-12-09
  • 2022-12-23
  • 2022-01-02
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案