Skip to content
CCC Python Course

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

  1. 1Values, types, variables and print

Practice

Try these on the judge. Each link opens the problem on WMOJ.

  1. 2024 J1
    Conveyor Belt Sushi (opens on WMOJ in a new tab) WMOJ

    Calculate the total cost from plate counts and fixed prices.

  2. 2022 J1
    Cupcake Party (opens on WMOJ in a new tab) WMOJ

    Compute leftover cupcakes from regular and small boxes.