Learning Python With Program Templates: The Do Something a Specified Number of Times Template

Photo by Becomes Co on Unsplash

In all honesty, this template should have come sooner in my article series. I am presenting it now so that the set of program templates will be complete when I am finished. To put it in its proper place, this template comes right after the Select From Alternatives template as the first template that involves a looping statement.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Mike McMillan

Mike McMillan

2.1K Followers

Mike McMillan writes about computer programming and running. See more of his writing and courses at https://mmcmillan.gumroad.com.