Upload 4.14

This commit is contained in:
Joe S 2021-01-31 18:14:35 -05:00
parent 8ec38fd2ea
commit 5ea69d0956
1 changed files with 10 additions and 0 deletions

10
4/4.14 LAB/main.py Normal file
View File

@ -0,0 +1,10 @@
user_text = input()
def count_letters(string):
result = 0;
for letter in list(string):
if letter.isalpha():
result += 1
return(result)
print(count_letters(user_text))