What Will I Learn?
- You will learn about the for loop statement in python.
- You will learn iterating_var in sequence
- You will learn Iterating by Sequence Index
Requirements
- Basic Knowledge about Python Programming
- Pycharm IDE
Difficulty
- Basic
- Intermediate
Description
we have two types of loops in Python, and they are the for and while loop. The For loops can iterate over a sequence of numbers using both the "range" and "xrange" functions.
The range function returns a new list with numbers of that specified range, while the xrange returns an iterator.
Video Tutorial
Curriculum
Here are the links to my previous tutorials on Python programming.
- PYTHON TUTORIAL 4 ( VARIABLE)
- PYTHON PROGRAMMING TUTORIAL (STRINGS)
- PYTHON PROGRAMMING TUTORIAL: SLICING UP STRINGS
- PYTHON PROGRAMMING TUTORIAL: LISTS
Posted on Utopian.io - Rewarding Open Source Contributors