end of day 2 week 1

This commit is contained in:
2026-01-21 11:27:18 +01:00
parent 2fed48e17f
commit b1c74929ac
4 changed files with 102 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
stringSubmit = input("give me a string: ")
numberOfChar = 0
for ch in stringSubmit:
if 'a' <= ch <= 'z' or 'A' <= ch <= 'Z':
numberOfChar+=1
print("your string contain " + str(numberOfChar) + " characters")