Course Solutions Uncategorized (Solved) : 114 Hw5 Part D File Intro Lab Experiment Opening Reading Files File Attached Lab Called En Q32604572 . . . .

(Solved) : 114 Hw5 Part D File Intro Lab Experiment Opening Reading Files File Attached Lab Called En Q32604572 . . . .

 

11.4 HW5 Part D: File Intro

In this lab, you willexperiment with opening an reading files.

A file has beenattached to this lab called english.txt. It contains a selection ofrandom english words. There is one word on each line.

Open the file by usingthe command

f = open(“english.txt”,”r”)

Ask the user for asingle letter. Loop through the file and print any word that startswith that letter. Your letter match should be case insensitive. Ifthe user enters A, you should print words that start with a.

Remember to close yourfile once you have completed the task.

You are not requiredto do any

OR

PayPal Gateway not configured

OR

PayPal Gateway not configured

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post