Lesson 3 of 60
pythonPython Refresher: Variables, Data Types, and Control Flow
20 minutes
Course progress5%
Python Refresher
Even if you already know Python, a quick recap helps set the stage for data‑science‑specific code.
Variables and Data Types
# Numbers
x = 10 # int
y = 3.14 # float
# Strings
name = "Alice"
is_valid =
my_list = [, , ]
my_tuple = (, , )
my_dict = {: , : }