@khanacademy
  @khanacademy
Khan Academy | for loops with range() | Intro to CS - Python | Khan Academy @khanacademy | Uploaded July 2024 | Updated October 2024, 6 days ago.
Learn how to use for loops with range() to repeat a block of code a fixed number times. Trace how the computer updates the loop variable during execution. View the program used in this video at: khanacademy.org/python-program/for-loops/5699608135516160

Courses on Khan Academy are always 100% free. Start practicing—and saving your progress—now with our Intro to Computer Science - Python course!

Course link: khanacademy.org/computing/intro-to-python-fundamentals/x5279a44ae0ab15d6:simulating-phenomena-with-loops
Course playlist: youtube.com/playlist?list=PLSQl0a2vh4HDkbhG0sDW0b-VZXykEIAe5

Khan Academy is a nonprofit organization with the mission of providing a free, world-class education for anyone, anywhere. We offer quizzes, questions, instructional videos, and articles on a range of academic subjects, including math, biology, chemistry, physics, history, economics, finance, grammar, preschool learning, and more. We provide teachers with tools and data so they can help their students develop the skills, habits, and mindsets for success in school and beyond. Khan Academy has been translated into dozens of languages, and 15 million people around the globe learn on Khan Academy every month. As a 501(c)(3) nonprofit organization, we would love your help!

Donate or volunteer today! Donate here: khanacademy.org/donate?utm_source=youtube&utm_medium=desc

Volunteer here: khanacademy.org/contribute?utm_source=youtube&utm_medium=desc

TIMESTAMPS:
00:00 - 01:05 : while loop vs. for loop syntax
01:06 - 01:57 : the range() function
01:58 - 03:15 : tracing for loop execution
03:16 - 03:41 : changing the start value
03:42 - 04:22 : when to use while loops
for loops with range() | Intro to CS - Python | Khan AcademyUnpacking employee benefits | Employment | Financial Literacy | Khan AcademyHow to take AI from vision to practice. Part 1Predatory lending | Loans and debt | Financial Literacy | Khan AcademyEducation as an investment | Careers and education | Financial Literacy | Khan AcademyHow to read 1098 and 1099 tax forms | Taxes and tax forms | Financial Literacy | Khan AcademyGames and modularity | Intro to CS - Python | Khan AcademyOrdering rational numbers in context | Grade 8 (TX) | Khan AcademyConservation of energy | Physics | Khan AcademyFunctions | Intro to CS - Python | Khan AcademyMomentum | Physics | Khan AcademyOpening a bank account | Banking | Financial Literacy | Khan Academy

for loops with range() | Intro to CS - Python | Khan Academy @khanacademy

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER