Python Programming with Raspberry Pi
上QQ阅读APP看书,第一时间看更新

Loops in Python

Sometimes, a specific task has to be repeated several times. In such cases, we could use loops. In Python, there are two types of loops, namely the for loop and while loop. Let's review them with specific examples.