1#there are 2 ways to make a while loop in python
2
3#first way -
4
5while True:
6 (#what ever you want in the loop)
7
8#second way -
9
10while 1:
11 (#what ever you want in the loop)
1for i in range(1"""start""",10"""end""",2"""steps"""):
2 print(i)
3
4i = 1 """start"""
5while i<10"""end""":
6 print(i)
7 i+=2"""steps"""