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
+9
View File
@@ -0,0 +1,9 @@
#5.6.2
def f(n):
if len(n) == 1:
return n
else:
return f(n[1:])+n[0]
word = input("")
print(f(word))