偶数

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

 

posted @ 2017-05-06 02:35  Bruce.yin  阅读(96)  评论(0编辑  收藏  举报