Question: The user inputs three string values. You should store these values in three separate variables. Your task is to print out the three strings so

 The user inputs three string values. You should store these values

The user inputs three string values. You should store these values in three separate variables. Your task is to print out the three strings so that they ordered in ascending alphabetical order. Be careful with the way the comparison operator orders strings that have different case letters. Hint: It may be helpful to use one of the in-built string functions we discussed in class. Here are some examples: Instructions: Please enter three strings. Enter the first string: mouse Enter the second string: cat Enter the third string: dog Here are the strings in ascending alphabetical order: cat dog mouse RESTARTShell Instructions: Please enter three strings. Enter the first string: apple Enter the second string: banana Enter the third string: Banana Here are the strings in ascending alphabetical order: apple Banana banana This program should be named as follows: Last Name First Name assignment3 problem 2.py. For example, Haroon Shaheer assignment3_problem2.py

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!