0

42.2 Python for beginners

Hello everyone. Help please. It’s not work. What’s wrong here? def letter_count(text, letter): #ваш код text.count(letter) text = input() letter = input() print(letter_count(text, letter))

13th Jul 2021, 4:08 PM
Леонид Янкевич
2 Respostas
+ 8
return text.count(letter)
13th Jul 2021, 4:11 PM
Simba
Simba - avatar
+ 1
print(text.count(letter))
13th Jul 2021, 4:46 PM
Shadoff
Shadoff - avatar