# 2. Numbers in Python

There are two major types of numbers in python: **integer** (whole numbers) and **float** (decimal numbers). You can play with the two data types In a Python, as follow:

```python
23+54
>> 77

1.3+3.5
>> 4.8

1/2
>> 0.5
```

{% hint style="info" %}
Python ignore blank spaces when dealing with numbers. \
e.g. `23+54` and `23 + 54` are both OK.
{% endhint %}

You can also put numbers into variables (or placeholder of values), and perform operations on them.

```python
X=4
X-3
>> 1
```

{% hint style="info" %}
Note that upper case and lower case matters in Python variable names (case-sensitive).\
e.g. **`Y`**&#x61;n&#x64;**`y`**&#x61;re two different variables, and so ar&#x65;**`MyVariable`** and **`myvariable`**
{% endhint %}
