Question: 1. Write a program that has a loop to read in five strings and put them into a list. Write a second loop to

1. Write a program that has a loop to read in five strings and put them into a list. Write a second loop to

1. Write a program that has a loop to read in five strings and put them into a list. Write a second loop to print the strings in the reverse order. This is an exercise in indexing, so do not use the reverse() method of list. Print the index in the following format. The actual strings you read in are arbitrary. Example format when running q1.py: Enter string 1/5: the blue moon Enter string 2/5: the red guitar Enter string 3/5: go home Enter string 4/5: spill the beans Enter string 5/5: winter in Oklahoma String 5/5: winter in Oklahoma String 4/5: spill the beans String 3/5: go home String 2/5: the red guitar String 1/5: the blue moon

Step by Step Solution

3.48 Rating (155 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Below is the Python 3 code to read in ten strings from the user store them in a list and then print ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!