subject
Computers and Technology, 04.06.2020 19:02 k11kiki

p25: File Write and Read1) User enters a file name (such as "myMovies. txt").2) User enters the titles of 4 of their favorite moveis (use a loop!).3) Program Writes the 4 titles to a file, one per line, then closes the file (use a loop!).4) Program Reads the 4 titles from "myMovies. txt" stores them in a list and shows the list5) The program writes the titles in reverse order into a file "reverseOrder. txt"Sample Run:Please enter a file name: myMovies. txtPlease enter a movie title #1: movie1Please enter a movie title #2: movie2Please enter a movie title #3: movie3Please enter a movie title #4: movie4Writing the 4 movie titles to file 'myMovies. txt'Reading the 4 movie titles from file into a list: [movie1, movie2, movie3, movie4]Writing the 4 movie titles in revers to 'reverseOrder. txt'Note: Do not use reverse() , reversed()Content of myMovies. txt:movie1movie2movie3movie4Content of reverseOrder. txtmovie4movie3movie2movie1

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 10:30
How can a user open a blank presentation? 1.on the file menu, click new, and then click recent templates 2.on the file menu, click new, and then click blank presentation 3. on the view menu, click templates, and then click recent templates 4. on the view menu, click samples, and then click blank presentation
Answers: 1
question
Computers and Technology, 23.06.2019 03:00
What are the different parts of computer
Answers: 2
question
Computers and Technology, 23.06.2019 15:00
In the blank libreoffice writer document, to start the process of entering a date field into a letter, click on the insert menu. edit menu. file menu. fields menu.
Answers: 3
question
Computers and Technology, 23.06.2019 15:10
What role did women fill during world war ii?
Answers: 1
You know the right answer?
p25: File Write and Read1) User enters a file name (such as "myMovies. txt").2) User enters the titl...
Questions
question
Advanced Placement (AP), 04.11.2020 05:10
question
Geography, 04.11.2020 05:10
question
Mathematics, 04.11.2020 05:10
question
Mathematics, 04.11.2020 05:10
Questions on the website: 13722367