Write a function that takes a string and a letter as its arguments and returns the count of the letter in the string. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 2

Write a function that takes a string and a letter as its arguments and returns the count of the letter in the string.

2nd Oct 2021, 4:28 PM
Bobby
3 Answers
+ 1
That's extremely simple. If you don't know how to do it repeat the lessons and/or search the internet for more information.
2nd Oct 2021, 4:31 PM
Simon Sauter
Simon Sauter - avatar
+ 1
You're not supposed to find it, you're supposed to come up with it on your own. If you can't you need to repeat what you've learned.
2nd Oct 2021, 4:34 PM
Simon Sauter
Simon Sauter - avatar
- 1
I can't find the answer anywhere .
2nd Oct 2021, 4:32 PM
Bobby