Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- text = str(input())
- n = 0
- l = 0
- for x in text:
- let = x.lower()
- if 'a' <= let <= 'z':
- l = l + 1
- print('Букв', l)
- for num in text:
- if '0' <= num <= '9':
- n = n + 1
- print('Цифр', n)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement