凯撒密码

plainText = input('message:')
for d in  plainText:
    print(chr(ord(d)+4),end='')
message:tonight
xsrmklx
Process finished with exit code 0

 

posted @ 2018-05-21 17:09  qwertyuiopasdf  阅读(567)  评论(0编辑  收藏  举报