1. 程式人生 > >凱撒密碼

凱撒密碼

tex end pla sage input proc text ext print

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

凱撒密碼