O'Reilly logo

Mission Python by Sean McManus

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

3REPEAT AFTER ME

image

Everyone talks about the heroism and glamour of space travel, but some of it is routine, repetitive work. When you’re cleaning, gardening in the space station greenhouse, or exercising to keep your strength up, you’re following detailed plans designed to keep the team safe and the space station operating. Luckily, robots take care of some of the drudgery, and they never complain about having to repeat themselves.

Whether you’re programming robots or building games, the loop is one of your basic programming building blocks. A loop is a section of a program that repeats: sometimes it repeats a set number of times, and sometimes ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required