Answer to Question #102358 in Python for Brenda flores

Question #102358
write a program that asks the user to enter two words, change them to upper case, then prints them in alphabetical order
1
Expert's answer
2020-02-06T07:51:38-0500
word1 = input('Enter the first word: ')
word2 = input('Enter the second word: ')
l = [word1.upper(), word2.upper()]
l.sort()
print(l)

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS