Skip to content

Use a variable

Use a variable

A variable is a named box that holds a value. name = "Sam" puts Sam in the box name. Then print(name) shows what is inside.

Log in or create account

IGCSE & A-Level