Question: PLEASE USE PYTHON 3 CPSC 217 Exercise 5: Forward and Backward Due: Tuesday November 21, 2007 at 11:55pm This exercise may be completed individually or

PLEASE USE PYTHON 3PLEASE USE PYTHON 3 CPSC 217 Exercise 5: Forward and Backward Due:

CPSC 217 Exercise 5: Forward and Backward Due: Tuesday November 21, 2007 at 11:55pm This exercise may be completed individually or as part of a group. If the exercise is completed as a group then all members of the group are expected to make a meaningful contribution to the solution. Task: Write a program that reads a collection of values from the user. After all of the values have been read, display all of the values in the opposite order from which they were entered, with one value appearing on each line. The user will indicate that no further values will be entered by entering a blank line. Sample Run #1: Enter a value (blank line to quit): Alice Enter a value (blank Iine to quit): Bob Enter a value (blank line to quit): Charlie Enter a value (blank ine to quit): Derek Enter a value (blank line to quit): Derek Charlie Bob Alice Sample Run #2: Enter a value (blank ine to quit): 50 Enter a value (blank line to quit): 50 Sample Run #3: Enter a value (blank line to quit): t Enter a value (blank line to quit): a Enter a value (blank line to quit): c Enter a value (blank ine to quit): o Enter a value (blank ine to quit): c Enter a value (blank line to quit): a Enter a value (blank line to quit): t Enter a value (blank line to quit): Grading: Your program will be graded by testing it with two different sets of input, which may be different from the examples shown above. Submission Instructions: Submit your solution as a Python source code file electronically to the Exercise 5 drop box in D2L. You do not need to submit a paper copy of your solution. If you choose to complete this exercise as part of group then each member of the group must submit a copy of the exercise using D2L

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!