filmov
tv
#Python Crash Course - Iteration, For Loops and Range Function

Показать описание
#Python Crash Course -
In this video we explore how for loops work. We start by iterating through a list of numbers, then iterate through a string. Next we learn how the range function works and how to use it to create a for loop iterating through a range of numbers.
Finally we apply our knowledge to printing odd numbers, and creating a loop to print out the words to the happy birthday song.
We also create a loop that runs a number of times based on the length of a list.
In this video we explore how for loops work. We start by iterating through a list of numbers, then iterate through a string. Next we learn how the range function works and how to use it to create a for loop iterating through a range of numbers.
Finally we apply our knowledge to printing odd numbers, and creating a loop to print out the words to the happy birthday song.
We also create a loop that runs a number of times based on the length of a list.