lesson 2 of 3 · moving aroundmoving aroundmoving aroundmoving aroundlesson 2 of 3 · moving aroundmoving aroundmoving aroundmoving aroundlesson 2 of 3 · moving aroundmoving aroundmoving aroundmoving aroundlesson 2 of 3 · moving aroundmoving aroundmoving aroundmoving aroundlesson 2 of 3 · moving aroundmoving aroundmoving aroundmoving aroundlesson 2 of 3 · moving aroundmoving aroundmoving aroundmoving aroundlesson 2 of 3 · moving aroundmoving aroundmoving aroundmoving aroundlesson 2 of 3 · moving aroundmoving aroundmoving aroundmoving aroundlesson 2 of 3 · moving aroundmoving aroundmoving aroundmoving aroundlesson 2 of 3 · moving aroundmoving aroundmoving aroundmoving aroundlesson 2 of 3 · moving aroundmoving aroundmoving aroundmoving around
Checkpoint
One last thing before we move on. pass this to mark the lesson done, or skip and keep moving. hop to the next when you're ready.
Lesson two terminal lock-in. Back to the Python sandbox for one step.
The starter declares three variables, one per command you learned
for moving around. Write three print(f"...") lines so the output
is exactly:
pwd: prints the folder you are standing in
ls: lists what is inside the current folder
cd: changes which folder you are standing in
The grader runs against these values. Type the three lines, run it, and that's lesson two done.