---
# System prepended metadata

title: Homework 4

---

# Homework 4

```python=+
for score in range(101):
  if score >= 90:
    print('%d: A+'%score)
  elif score >= 85:
    print('%d: A'%score)
  elif score >= 80:
    print('%d: A-'%score)
  elif score >= 77:
    print('%d: B+'%score)
  elif score >= 73:
    print('%d: B'%score)
  elif score >= 70:
    print('%d: B-'%score)
  elif score >= 67:
    print('%d: C+'%score)
  elif score >= 63:
    print('%d: C'%score)
  elif score >= 60:
    print('%d: C-'%score)
  elif score >= 50:
    print('%d: D'%score)   
  else:
    print('%d: E'%score)
                
```
![](https://i.imgur.com/j0bbHyr.png)
![](https://i.imgur.com/ZRydLJe.png)
![](https://i.imgur.com/zQOzgJp.png)
![](https://i.imgur.com/sbDYhBU.png)

```python=+