Advertisement
here2share

# fizzbuzz.py

Aug 15th, 2018
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.09 KB | None | 0 0
  1. # fizzbuzz.py
  2.  
  3. print '\n'.join(['Fizz'*(i%3==0)+'Buzz'*(i%5==0) or `i` for i in range(1,101)])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement