Question: Write a function called count ( letter , string ) that takes a letter as input ( a string with just one symbol in it

Write a function called count(letter, string) that takes a letter as input (a string with just one symbol in it) and returns the number of times that the given letter appears in the given string

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!