Python Assignment
You will start with the following two txt files: JokesPC.txt and answers.txt.
1) Replace all occurrences of “Your answer here” in the JokesPC.txt by the answers provided in answers.txt
2) Append a joke to the Jokes.txt file by asking a new ghost question/riddle to the user and recording the users answer via input. When this is complete you will have 5 questions and 5 answers in the JokesPC.txt file
3) Search for the word/s “Ghost/ghost” in the above file and print how many times the word appears in the file
"You need a similar assignment done from scratch? Our qualified writers will help you with a guaranteed AI-free & plagiarism-free A+ quality paper, Confidentiality, Timely delivery & Livechat/phone Support.
Discount Code: CIPD30
Click ORDER NOW..



