Write a program to accept a sentence. Display the sentence in reversing order of its
word.
Sample Input: Computer is Fun
Sample Output: Fun is Computer
Answers
Answered by
1
Answer:
#Python3 Solution
l= input().split(" ");
l=l[::-1]
s=" "
s=s.join(l)
print(s)
Similar questions