偶数

1 #!/usr/bin/env python
2 # -*- coding: utf-8 -*-
3 i = 1
4 while i < 101:
5     #print(i)
6     if i % 2 == 0:
7         print(i)
8     i += 1
原文地址:https://www.cnblogs.com/Bruce-yin/p/6815560.html