Dremendo Tag Line

Print the number series 10 100 1000 using for loop in Python

for Loop - Question 3

In this question, we will see how to print the number series 10 100 1000... in Python programming using for loop. To know more about for loop click on the for loop lesson.

Q3) Write a program in Python to print the number series given below using for loop.

10 100 1000 10000 100000

Program

n=10
for i in range(1,6):
    print(n,end=' ')
    n=n*10

Output

10 100 1000 10000 100000
video-poster