All labsStart: What a program is
Program a siege
Write real Python against a world that answers back. Start by printing one line, end by writing a program that hunts for a target it cannot see — picking up variables, if/else, random, input, loops and functions on the way.
0 of 10 steps done0%
Before you write a programOptional warm-upInstructions, variables, loops, and the difference between printing and returning.Say something
print, and asking the world a question
Take aim
Variables, and arithmetic with them
Through the fog
if and else — a program that decides
Battle cries
Lists, and asking for something random
The captain decides
input, and why it is never a number
A volley
for loops — say it once, do it many times
Write the rule down
Functions, and the difference between return and print
Until it falls
while loops, and keeping a record
What comes next
The parts of programming this lab left out