โPython is not just a language โ itโs a gateway to data insights, automation, and innovation.โ
Python is a high-level, interpreted language known for its readability, simplicity, and vast data science ecosystem.
# 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
# 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)