โ€œPython is not just a language โ€” itโ€™s a gateway to data insights, automation, and innovation.โ€


๐Ÿ Introduction to Python

Python is a high-level, interpreted language known for its readability, simplicity, and vast data science ecosystem.

๐Ÿ” Why Python for Data Science?


๐Ÿงฑ Python Basics

๐Ÿงฎ Variables and Data Types

# Integer
age = 25

# Float
height = 5.9

# String
name = "Data Scientist"

# Boolean
is_student = True

# Check types
print(type(age))      # int
print(type(height))   # float
print(type(name))     # str
print(type(is_student))  # bool


โž• Basic Operations

# Arithmetic
x, y = 10, 3
print(x + y, x - y, x * y, x / y, x // y, x % y, x ** y)

# String operations
first_name = "Data"
last_name = "Scientist"
full_name = first_name + " " + last_name
print(full_name * 2)


๐Ÿงบ Data Structures