1.

Write the python code to input a number and print the reverse of the number by using for loop.

Answer»

ANSWER:

#This code is WRITTEN in python 3

N=input()

for i in range(len(n),-1):

     print(n[i] ,end="")



Discussion

No Comment Found