Values, types, variables and print
- Stage
- 1
- Module
- M1.1
- Lessons
- 1
In this module
- Tell integers, floats, strings and booleans apart.
- Store values in variables with the assignment operator.
- Follow how reassignment changes what a variable refers to.
- Print values in exactly the format you intend.
Before this module
Lessons
Practice
Try these on the judge. Each link opens the problem on WMOJ.
- 2024 J1Conveyor Belt Sushi (opens on WMOJ in a new tab) WMOJ
Calculate the total cost from plate counts and fixed prices.
- 2022 J1Cupcake Party (opens on WMOJ in a new tab) WMOJ
Compute leftover cupcakes from regular and small boxes.