Computer Science, asked by INDIAN04, 1 year ago

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 vaibhavtandon98
1

Answer:

#Python3 Solution

l= input().split(" ");

l=l[::-1]

s=" "

s=s.join(l)

print(s)

Similar questions