Python_Programming_QA
Python_Programming_QA
x = [1, 2, 3]
z = 3 + 4j
- Data science and machine learning (e.g., using Pandas, NumPy, TensorFlow)
name = "Alice"
print(name)
Arithmetic: + - * / % ** //
a = 10; b = 3
print(a + b, a - b, a * b, a / b, a % b, a ** b, a // b)
Relational: > < == != >= <=
8. Anaconda: A Python distribution with data science tools. Simplifies package management and
int: x = 5
float: y = 3.14
tuple: t = (1, 2)
dict: d = {"a": 1}
- Cybersecurity: Scapy
- IoT: Raspberry Pi
int: 5 - Counting
- Easy syntax
- Portable
- Open-source
Example:
Example:
a = 5; b = 3
complex: z = 5 + 2j
print(f) # 1/2