Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

General Loop Structure

print("Starting...")
count = 0
while count < 10:                           # repeat 10 times
    print(count)
    count = count + 1
print("Done!")pythonCopied!
Source by 1st.curriculum.wethinkco.de #
 
PREVIOUS NEXT
Tagged: #General #Loop #Structure
ADD COMMENT
Topic
Name
2+6 =