---
# System prepended metadata

title: Python 05-CW_NDHU GPA 411073011 2022.3.22

---

# Python 05-CW_NDHU GPA 411073011 2022.3.22

```python=
gpa = int(input("東華GPA: "))
if gpa >= 90:
    print('Grade is: A+')
elif gpa >= 85:
    print('Grade is: A')
elif gpa >= 80:
    print('Grade is: A-')
elif gpa >= 77:
    print('Grade is: B+')
elif gpa >= 73:
    print('Grade is: B')
elif gpa >= 70:
    print('Grade is: B-')
elif gpa >= 67:
    print('Grade is: C+')
elif gpa >= 63:
    print('Grade is: C')
elif gpa >= 60:
    print('Grade is: C-')
elif gpa >= 50:
    print('Grade is: D')
else:
    print('Grade is: F')
```


# Python 05-HW_印出7的倍數 411073011 2022.3.22

```python=
for i in range(1,101):
    if i%7==0:
        print(i)
```


# Python 05-HW_印出閏年 411073011 2022.3.22

```python=
for i in range(1,2002):
    if i%4==0:
        if i%400==0:
            print(i)
```
![](https://i.imgur.com/Cn7W6C0.png)