Course Solutions Uncategorized (Solved) : Create Python Application Store Mileage Record Based Code Make Sure Application Following Q32680722 . . . .

(Solved) : Create Python Application Store Mileage Record Based Code Make Sure Application Following Q32680722 . . . .

 

Create a python application that will store your mileage record.based off this code:

fh-open (myMileage.txt, w addDataTrue fh.write(Mileage Record In while addData: myDatainput(Whats your mileage (zero to quit)? ) if myDatao print (all done addDataFalse fh.close() else: print (adding data) fh.write(str (myData)) fh.write(rnmake sure that the applicationdoes the following things:

1. open the file

2. prompt the user for their mileage

3. keep the file open as long as the user is adding data

4. when the user is done, close the file, then re-openit to read, and print out

the total mileage

fh-open (“myMileage.txt”, “w” addDataTrue fh.write(“Mileage Record In” while addData: myDatainput(“What’s

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