Skip to content
AltoCode
Learn
Practice
Compete
Community
Sign in
Start learning
First steps
Browse problems
First steps
Programming Foundations with Python
01
Output and values
Read the lesson
Print AltoCode
Print Hello World
Print Hello and World on two lines
02
Input, variables, and arithmetic
Read the lesson
Next Integer
A + B
Sum of Three Integers
03
Functions
Read the lesson
Return 3.141592
Flip the sign
Product of two integers
Implement g(n)
04
Conditions
Read the lesson
The larger of two integers
Sign of an Integer
Leap Year
05
Loops
Read the lesson
Countdown
Factorial 1
Sum of even numbers
Number triangle (iteration)
06
Recursion
Read the lesson
Factorial by recursion
Countdown by recursion
Print 1 to n on one line
The nth Fibonacci number
Number triangle (recursion)
Tower of Hanoi move count