write a program to input a string and display its last word only
Answers
Answered by
0
Answer:
In python 3
Explanation:
string = (input()).split()
print(string[-1])
Attachments:

Similar questions