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

0
26
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 estudyhelper.xyz

LEAVE A REPLY

Please enter your comment!
Please enter your name here