Tracing loop execution | Intro to CS - Python | Khan Academy

preview_player
Показать описание
Courses on Khan Academy are always 100% free. Start practicing—and saving your progress—now with our Intro to Computer Science - Python course!

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!

TIMESTAMPS:
00:00 - 01:03 : counting loop repetitions
01:04 - 01:28 : before the loop
01:29 - 02:56 : first loop iteration
02:57 - 03:27 : second loop iteration
03:28 - 03:55 : third loop iteration
03:56 - 04:20 : fourth loop iteration
04:21 - 04:55 : loop termination
Рекомендации по теме
Комментарии
Автор

I want 100 python exercises like this to try it by myself, and then maybe it will stick in my head forever and ever.

hexbinoban
Автор

How does the computer execute a while loop in Python, and what are the steps involved in tracing its execution?

Shadoxite