while loop

count = 1  # initialization 
while count <=10 : # conditon
print("print Hello")
count = count+1 

1 st program

i = 1
while i == 100 :
print(i)
i = i+1

2nd program

i = 100
while i >= 1 :
  print(i)
  i = i-1

3rd program

n = int(input("enter the number : ", ))
i = 1 
while i <= 10 :
  print(n*i)
  i = i+1

4th program

n = [1,4,9,16,25,36,49,64,81,100]
i = 0
while i <= len(n)-1:
  print(n[i])
  i = i+1