Professional Documents
Culture Documents
Nes Function
Nes Function
```python
def func1():
print("Це функція 1")
def func2():
print("Це функція 2")
func1()
```python
def add(a, b):
return a + b
perform_operations(5, 3)
```
```python
def square(x):
return x ** 2
def cube(x):
return x ** 3
result = calculate_total(2, 3)
print(f"Загальний результат: {result}")
```