
int): Whole numbers (positive, negative, or zero).
age = 25
temperature = -5
float): Numbers with decimals.
pi = 3.14
height = 5.7
complex): Numbers with real and imaginary parts.
z = 2 + 3j
str)name = "Alice"
message = 'Hello, World!'
print(name[0]) # A
print(name.upper()) # ALICE
bool)True or False.
is_student = True
has_passed = False
result = None
fruits = ["apple", "banana", "cherry"]
print(fruits[1]) # banana
coordinates = (10, 20)
colors = {"red", "green", "blue"}
student = {"name": "Alice", "age": 25}
print(student["name"]) # Alice
Use the type() function to check the type of a variable:
x = 10
print(type(x)) # <class 'int'>
Fill out the Get Help form and our team will contact you.
We accept UPI, Debit/Credit Cards, and Net Banking.
Yes, installment options are available for selected courses.
Yes, we provide resume and interview support.