- 3

Can anyone help me solve this problem.

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:29 PM
Bobby
5 Answers
+ 5
Bobby , nobody here will solve your homework for you. This app is for learning, not coping and pasting solutions...
2nd Oct 2021, 4:45 PM
Aleksei Radchenkov
Aleksei Radchenkov - avatar
+ 3
Use count method to count character in a string
2nd Oct 2021, 4:35 PM
A͢J
A͢J - avatar
+ 3
*We* can. The point is can *you*, Bobby ? BTW in the time you've wasted here you could have easily found out how to do it yourself. Maybe you should reconsider why you're here and whether programming is the right fit for you. With *that* attitude you won't make it far.
2nd Oct 2021, 4:56 PM
Simon Sauter
Simon Sauter - avatar
+ 1
Its pretty simple follow steps..... 1)Learn functions 2)Learn how to take arguments. 3)Learn string functions. 4)Learn how to count string letters. 5)Combine all things then you can solve it......
3rd Oct 2021, 5:56 PM
Sayyam Jain
Sayyam Jain - avatar
- 3
Can u do it .
2nd Oct 2021, 4:37 PM
Bobby