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?
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Comments
Leave a comment