Title: Python Data Types and Variables Python is a dynamically typed language. Let's look at the basic data types. 1. int – Represents integers. Example: age = 25 2. float – For decimal values. Example: pi = 3.14 3. str – Represents text. Example: name = "John" 4. bool – Only two values: True or False. Example: is_active = True 5. list – A collection of items. Example: fruits = ["apple", "banana"] A variable is a name that stores a value. Python doesn't require you to declare types; just assign the value. Let’s see an example: name = "Alice" age = 30 pi = 3.14 These are all valid Python variables. Thanks for watching! Learn more in our next video.

视频信息