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
+8
View File
@@ -0,0 +1,8 @@
word = input("请输入明文:")
size = len(word)
for i in range(size):
newword = ord(word[i])+3
if newword<=ord('z'):
print(chr(newword),end = '')
else:
print(chr(newword-26),end = '')