PYTHON PROGRAMMING TUTORIAL: FOR LOOP STATEMENT
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
Thanks for sharing knowledge
Thanks
Thank you for the contribution. It has been approved.
You can contact us on Discord.
[utopian-moderator]
Hey @creon I am @utopian-io. I have just upvoted you!
Achievements
Community-Driven Witness!
I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!
Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x