Title: Class Notes - Basic Python Programming
Subject: Computer Science / Programming
Level: Beginner
---
**1. Introduction**
- Python is an interpreted, high-level, general-purpose programming language.
---
**2. Variables and Data Types**
- Variables store data: `x = 10`
- Data Types: int, float, str, list, dict
---
**3. Conditional Statements**
```python
if x > 0:
print("Positive")
elif x == 0:
print("Zero")
else:
print("Negative")
```
---
**4. Loops**
- For loop:
```python
for i in range(5):
print(i)
```
- While loop:
```python
while x < 5:
x += 1
```
---
**5. Functions**
```python
def greet(name):
return "Hello " + name
```
---
End of Notes.