Back
+10 XP
Concept

Integers

An integer (`int`) is a whole number without decimals:

python
score = 42
lives = -3

# 13. Integers An integer (`int`) is a whole number without decimals: ```python score = 42 lives = -3 ``` You can make integers as massive as you want. Python never overflows or caps out; it just keeps calculating until your machine catches fire.

Checkpoint

Can an integer have a decimal point like `4.5`?

Practice

Create an integer variable `points = 1500`, multiply it by 2, and print the result.

Terminal
01
Tap code blocks below to assemble
Available Blocks