Question: python question 4. Function Two: countLetter Specification The second function you will write should be called countLetter'. Your function should take two (2) arguments. The

python questionpython question 4. Function Two: countLetter Specification The second function you will

4. Function Two: countLetter Specification The second function you will write should be called countLetter'. Your function should take two (2) arguments. The first will be a string. The second will be a single character. The function should return one (1) integer: the number of times the character occurs in the string. Iesting: Create your own test cases. Think about what the edge cases are (e.g., what if the character is not in the 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 Databases Questions!