Initial commit: Python learning project with examples and exercises

This commit is contained in:
2025-07-20 17:08:50 +08:00
commit bc7bb56271
111 changed files with 11535 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
plaincode = input("请输入明文:")
for p in plaincode:
if ord("a") <= ord(p) <= ord("z"):
print( chr( ord("a") + ( ord(p) - ord("a") + 3)%26), end='')
else:
print(p, end='')