syntax of while loop in python code example
Example: while loop in python
j = 0
while j < 3:
print("hello") # Or whatever you want
j += 1
#This runs the loop until reaches 3 and above
j = 0
while j < 3:
print("hello") # Or whatever you want
j += 1
#This runs the loop until reaches 3 and above