pyhton3行

P1914 小书童——凯撒密码

thatboy @ 2020-02-02 21:55:12

w =int(input())
b=input()

for i in b:
print("%c"%(97+(ord(i)+w-97)%26),end='')

by hjxhjx @ 2020-02-02 21:56:00

出门右转题解区欢迎您


by CBW2007 @ 2020-02-02 21:56:06

???不是4行吗


by Maxwang @ 2020-02-02 22:01:29

orz


by Ryo_Yamada @ 2020-02-02 22:15:22

\text{数数都能数错}

by Marser @ 2020-02-03 09:31:37

pyhton也是够了。


by lyxleo @ 2020-02-15 20:29:34

人生苦短,我用python


|