Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## Example 5: Write function to print the odd numbers from 1 to 99.
- print "\n".join([str(x) for x in xrange(1,100) if x%2])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement