---
# System prepended metadata

title: Homework

---

# Homework
```python=+
#Ex 1
a, b = map(int,input("Input two integers: "))
print("a + b = ",round(a + b , 2))
print("a - b = ",round(a - b , 2))
print("a * b = ",round(a * b , 2))
print("a / b = ",round(a / b , 2))
```
![](https://i.imgur.com/SPbL8qU.png)

```python=+
#Ex 2
weight, height = map(float,input().split())
bmi = round(weight / (height/100)**2 , 2)
print("BMI =",bmi)
```
![](https://i.imgur.com/QdcTGuA.png)
