A loop is a fundamental concept in all programming languages, not just Python. The while loop in Python is used to iterate over a block of code as long as the test expression (condition) is true.
🔥 Want to learn Python, the right way? Get my interactive Python course: https://bit.ly/right-python
In this video, we will learn about the while loop in Python. The while loop evaluates the test condition and runs the body of the loop as long as the test condition evaluates to true. At the end of the video, we will learn to write a program to print the multiplication table of a specified number.
~
Run Python Online: https://www.programiz.com/python-programming/online-compiler/
Programs in this video: https://github.com/programiz/python-course/blob/master/08-while-loop.md
Python while loop (text-based tutorial): https://www.programiz.com/python-programming/while-loop
Python if...else statement:
https://youtu.be/497MClrekMY?list=PL98qAXLA6afuh50qD2MdAj3ofYjZR_Phn
Watch our videos and revise them with our Python App!
Download here for Android: https://bit.ly/learn-python-android
Download here for iOS: https://apple.co/3iPm6Sx
Timestamps:
0:00 Intro
0:33 Python while Loop
5:45 Multiplication Table using while
8:18 Programming Task
9:03 Recap
Find Programiz elsewhere:
Facebook: https://www.facebook.com/programiz
Instagram: https://www.instagram.com/_programiz/
LinkedIn: https://www.linkedin.com/company/programiz
Website: https://www.programiz.com
-------------------------------------------------
While Loop in Python (Perform a Task 1000000 times With Ease) #8\
#python #learnprogramming #programiz #whileloop