Advertisement
Guest User

Untitled

a guest
Jan 30th, 2015
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.12 KB | None | 0 0
  1. ## Example 5: Write function to print the odd numbers from 1 to 99.
  2. print "\n".join([str(x) for x in xrange(1,100) if x%2])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement