Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- S,A="FizzBuzz",lambda i,k:0==i%k
- O=lambda i:A(i,3)or A(i,5)
- B=lambda i:0 if A(i,3)else 4
- E=lambda i:8 if A(i,5)else 4
- for i in range(1,101):
- if O(i):print S[B(i):E(i)]
- else:print i
Advertisement
Add Comment
Please, Sign In to add comment