Get Answers to all your Questions

header-bg qa

Write a program to input any digit number and print the reverse of the digit using go to statement?

Answers (1)

best_answer

string1=input('enter a string')

length=Len(string1)

i=0

for a in range(-1,(-length-1),-1):

print(string1[i],' ',string1[a])

i+=1

Posted by

Deependra Verma

View full answer