Hey guys,
I've got a python assignment that I'm trying to do but I have no idea how to start.
Write a function countLetters that expects 2 input arguments: a sentence and a letter. The function will check the number of times the letter occurs in the sentence. The function counterLetter should return a number (number of times the letter occurred in the sentence).
Write a function promptUser that prompts the user for a sentence and a letter. In promptUser, call countLetter with the sentence and letter you read in from the user. Save the value returned from the function and use in to append to a file count.txt.