Question: Write a Python function countChar() that gets a file name and a character as parameters. The function finds and returns the number of occurrences of

Write a Python function countChar() that gets a file name and a character as parameters. The function finds and returns the number of occurrences of the character given in the 2nd parameter. Write only the answer of what is asked. Unnecessary statements may result in loss of points
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
