Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from collections import Counter
- print("Кол-во символов в строке: " + str(Counter(list(''.join(input("Введите строку!: ").lower().split())))[input("Введите символ!: ").lower()]))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement