13. Enter a string and print it in reverse in one row.
Answers
Answered by
0
Answer:
In python 3.x, the following code works:
Explanation:
string = input("Enter a string: ")
print(string[::-1])
Similar questions