Advertisement
TristanSld

for loop and range() function 1

Jan 7th, 2014
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.10 KB | None | 0 0
  1. #!/usr/bin/env python
  2. #-*-coding:utf-8-*-
  3. for i in range (1,100):
  4.     if i%2==0:
  5.         print i
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement