---
# System prepended metadata

title: python 41104b006 測試閏年

---

# python 41104b006 測試閏年
```python=
for i in range(100,2022,100):      
    if (i%4)==0and(i%100)!=0:
      print(i)
    elif (i%400)==0:
      print(i)
    elif (i%100)==0and(i%400)!=0:
      continue
    
