Family Day update
This commit is contained in:
parent
aac6731f2c
commit
9ad63ea473
2442 changed files with 39761 additions and 8255 deletions
|
|
@ -1 +1,3 @@
|
|||
print (', '.join([(x%3<1)*'Fizz'+(x%5<1)*'Buzz' or str(x) for x in range(1,101)]))
|
||||
for n in range(1, 100):
|
||||
fb = ''.join([ denom[1] if n % denom[0] == 0 else '' for denom in [(3,'fizz'),(5,'buzz')] ])
|
||||
print fb if fb else n
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue