python infinite loop

Solutions on MaxInterview for python infinite loop by the best coders in the world

showing results for - "python infinite loop"
Syrine
19 Jan 2016
1while True: 
2    print("Hello, World")
María Fernanda
30 Jan 2021
1#infinite While on Python
2
3while True:
4  print('Hello World!')
5
Florencia
05 May 2019
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)
Curtis
28 Jul 2018
1while True:
2  print('This is an example')