What do you do when you have to repeat something over and over again?
You probably want to do it once and get it over with.
When coding in Python, you might have to repeat a specific task.
Is there a way to repeat a task simply in Python?
YES! You have to use the for loop function.
To show their commitment to class, they wrote “Resolution” 50 times.
But, it would be too cumbersome to type in “Resolution” 50 times.
What is a simple way to make Python repeat on its own?
Step 1: Make a flowchart to plan how you want to code
Step 2: Use for loop function
Step 3: Watch Python write ‘Resolution” 50 times for you!
We teach computational skills the fun way at Tinker!
Check our website to see our programs and feel free to call 0715-978-986 for inquiries!