Level up your Python skills with interactive fill‑in‑the‑blanks exercises! Practice variable declaration, assignment, and usage in bite‑sized challenges.
underscore
Python variable names can begin with a letter (a-z, A-Z) or underscore (_), but not numbers or other characters.
equals
The equals sign (=) is used for assignment in Python (e.g., x = 5).
sensitive
Python treats myVar and myvar as different variables.
del
The del statement removes the binding of a variable.
None
None is Python's null/nothing value.
dynamic
Python uses dynamic typing, allowing variables to hold values of any type and change types during execution.
references
Variables store references to objects rather than containing the objects themselves.
runtime
This is why Python is called a dynamically typed language.
references
Assignment creates a new reference, not a copy of the object.
None
This is why print(my_function()) shows None when the function has no return.
type
type(x) returns the class/type of object x currently references.
is
The 'is' operator checks for identity with the None singleton.