Compare commits

...

6 Commits

@ -0,0 +1 @@
"# 源代码"

@ -0,0 +1,10 @@
m=input("输入明文:")
for p in m:
if "a"<=p<="z":
print(chr(ord("a")+(ord(p)-ord("a")+3)%26),end='')
elif "A"<=p<="Z":
print(chr(ord("A")+(ord(p)-ord("A")+3)%26),end = '')
else:
print(p,end='')
print("软工1班张心怡2315304319")
Loading…
Cancel
Save