Python program to read a string and display it in reverse order

927
Python program to read a string and display it in reverse order
str=input("Please Enter a string: ")
print("The",str, "in reverse order is:")
length=len(str)
for a in range(-1,(-length-1),-1):
    print(str[a])

    Output:
           Please Enter a string: Navin
           The Navin in reverse order is:
           n
           i
           v
           a
           N

इन्हें भी देखें।

Python Programs के लिये यहाँ click करें।

 

 

Python program to read a string and display it in reverse order program to read a string and display it in reverse order in python write a program to read a string and display it in reverse order write a program to read a string and display it in reverse order in python write a program to read a string string reverse order program reverse order program of string in python Python program to read a string and display it in reverse order estudyhelpe rPython program to read a string and display it in reverse order coding.booksinhindi.com