2. Write a program that does the following: a. Define a variable, and set its value to be your name as a string b. Ask t
Posted: Fri Jul 08, 2022 7:28 am
2. Write a program that does the following: a. Define a variable, and set its value to be your name as a string b. Ask the user for their name, and store their answer in a variable. **Hint: Use input() to prompt the user for their name. C. Compare both of your names, and print out a message that indicates whose name comes first alphabetically. For example, the name 'Annie' would come before 'Terry' **Hint: You will need to use one of our six comparison operators: < >, <