9.10 Code Practice: Question 1
Write code that takes in two words from user input. Then, the program should swap the two variables that hold the inputs and print the words in backward order.
1
Expert's answer
2020-05-27T10:55:15-0400
#Promt user to input words
word1 = input("Enter the first word: ")
word2 = input("Enter the second word: ")
#print the words in backward orderprint(word2, word1)
The expert did excellent work as usual and was extremely helpful for me.
"Assignmentexpert.com" has experienced experts and professional in the market. Thanks.
Comments