Computer Science, asked by narasimharohith3114, 7 months ago

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

Answers

Answered by subgb98
0

Answer:

#This code is written in python 3

n=input()

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

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

Similar questions