Question: use my_function non. Complete the reversed_words function part below. Do not change the white Toop part. The period. must be at the end of the
non. Complete the "reversed_words" function part below. Do not change the white Toop part. The period"." must be at the end of the reversed sentence. def reversed_words(a): Enter your sentence: I am a king. Reversed: King a ami Enter your sentence: Hello. I love Python Reversed Python love i hello Enter your sentence: NA while True: your_input = input('Enter your sentence:') result = reversed_words(your_input) print("Reversed:") print(result)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
