01
Variables & types
⏱ ২০ মিনিট
age = 25
price = 9.99
name = "Skillio"
items = [1, 2, 3]
profile = {"city": "Dhaka"}
02
Operators & I/O
⏱ ২০ মিনিট
print("Hello", name)
x = 10 + 5
y = x * 2
is_active = True
03
Quiz
⏱ ২০ মিনিট
list vs tuple?
list mutable, tuple immutable
dict কী?
key-value pairs — JSON-like structure
04
Collections deep dive
⏱ ১০ মিনিট
nums = [1, 2, 3]
nums.append(4)
coords = (10, 20) # immutable
unique = {1, 2, 2, 3} # {1, 2, 3}
user = {"name": "Riya", "score": 88}
list mutable, tuple immutable — dictionary key immutable হতে হবে।
05
Type conversion
⏱ ১০ মিনিট
age = int("25")
price = float("9.99")
text = str(100)
flag = bool(1) # True
User input সবসময় string — calculation এর আগে cast করো।
06
Basics quiz
⏱ ১০ মিনিট
set vs list?
set unique elements, unordered; list ordered, duplicates allowed
// vs / in Python 3?
/ float division, // floor division
f-string example?
f"Hello {name}" — readable string formatting