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

  Рет қаралды 4,631

Khan Academy

Khan Academy

Күн бұрын

Пікірлер: 9
@hexbinoban6170
@hexbinoban6170 4 ай бұрын
I want 100 python exercises like this to try it by myself , and then maybe it will stick in my head forever and ever.
@khanacademy
@khanacademy 3 ай бұрын
Try out some of our practice Python exercises in our Intro to CS - Python course! For example, we have a programming assignment on while loops that goes along with this exact video: www.khanacademy.org/computing/intro-to-python-fundamentals/x5279a44ae0ab15d6:simulating-phenomena-with-loops/x5279a44ae0ab15d6:while-loops/pc/dice-roller
@kamrunnaharmukta669
@kamrunnaharmukta669 4 ай бұрын
Nice work. Keep going
@chlodnia
@chlodnia 4 ай бұрын
Thanks
@Shadoxite
@Shadoxite 4 ай бұрын
6 seconds
@Shadoxite
@Shadoxite 4 ай бұрын
How does the computer execute a while loop in Python, and what are the steps involved in tracing its execution?
@davidmurphy563
@davidmurphy563 4 ай бұрын
Depends on the language. Python here compiles to bytecode, makes a file which is run. After that it's interpreted line by line in runtime. Honestly, it's not usual to worry about any of that under the hood stuff. Especially with beginner level stuff like this. Enough to know there are a series of steps which take the code to machine language and ultimately binary instructions which become the fetch, execute cycle.
@RTMPSpeedrunsXD
@RTMPSpeedrunsXD 4 ай бұрын
I'm autistic.' |
@cadence-tz5yw
@cadence-tz5yw 4 ай бұрын
Thanks you we proud of you all 💞✨
for loops with range() | Intro to CS - Python | Khan Academy
4:23
Человек паук уже не тот
00:32
Miracle
Рет қаралды 4,3 МЛН
When Cucumbers Meet PVC Pipe The Results Are Wild! 🤭
00:44
Crafty Buddy
Рет қаралды 41 МЛН
1, 2, 3, 4, 5, 6, 7, 8, 9 🙈⚽️
00:46
Celine Dept
Рет қаралды 103 МЛН
Which Majors Have the Happiest Students?
0:29
Gohar Khan
Рет қаралды 2 МЛН
The Quadratic Formula: About
5:22
Joshua Payan
Рет қаралды 15
How to Answer Any Question on a Test
0:27
Gohar Khan
Рет қаралды 58 МЛН
Bill Gates Vs Human Calculator
0:51
MsMunchie
Рет қаралды 125 МЛН
5 Simple Steps for Solving Any Recursive Problem
21:03
Reducible
Рет қаралды 1,2 МЛН
STA 215 - Hypothesis Testing Intro
15:19
Patrick Cain
Рет қаралды 6
Человек паук уже не тот
00:32
Miracle
Рет қаралды 4,3 МЛН