string = input("Enter a string:")
print("The", string, "in reverse order is:")
length = len(string)
for l in range(-1, (-length-1), -1):
print(string[l])
Can’t Read Books? Try This 5-Minute Habit Instead (It Actually Works) Hi, namaste Krishna. So, um today I'll be sharing a very good ha...
No comments:
Post a Comment