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
Accountancy,
3 months ago
Math,
3 months ago
English,
3 months ago
Social Sciences,
8 months ago
English,
8 months ago
Math,
11 months ago
Geography,
11 months ago