Type Conversion & Casting in Python

Опубликовано: 27 Июль 2026
на канале: Viking Tech Talks
3
2

This notebook covers how Python converts values from one data type to another.
There are two kinds of type conversion:

1. *Implicit conversion* — Python does it automatically (e.g. `int + float`).
2. *Explicit conversion (casting)* — the programmer does it manually using functions like `int()`, `float()`, `str()`, `bool()`.

Each section below has a short explanation followed by runnable examples.