Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python while loop

# while True loop
while True:
	print("This will continue to print this forever")
    
# while variable loop
value = 5
while value = 5:
	# Since this is true, this will continue on forever
    print("Yes")
Source by softhunt.net #
 
PREVIOUS NEXT
Tagged: #python #loop
ADD COMMENT
Topic
Name
4+8 =