FizzBuzz
Re: FizzBuzz
Fizz.
-
RandomBomb
- ASDF Worshipper

- Posts: 375
- Joined: Wed Jan 15, 2014 10:37 pm
- Location: South Bay...
- Anonymously Famous
- JKL; Assassin

- Posts: 11413
- Joined: Thu Mar 03, 2011 6:52 pm
- Location: Area ???, under Bermuda Triangle
Re: FizzBuzz
11
BOTTOM TEXT
Proud poster of the 300kth post in GeneralThingerDudes wrote:The only reasonable amount of Nutella is infinity. Everything else is too little.
-
RandomBomb
- ASDF Worshipper

- Posts: 375
- Joined: Wed Jan 15, 2014 10:37 pm
- Location: South Bay...
- Anonymously Famous
- JKL; Assassin

- Posts: 11413
- Joined: Thu Mar 03, 2011 6:52 pm
- Location: Area ???, under Bermuda Triangle
Re: FizzBuzz
13
BOTTOM TEXT
Proud poster of the 300kth post in GeneralThingerDudes wrote:The only reasonable amount of Nutella is infinity. Everything else is too little.
-
RandomBomb
- ASDF Worshipper

- Posts: 375
- Joined: Wed Jan 15, 2014 10:37 pm
- Location: South Bay...
- Anonymously Famous
- JKL; Assassin

- Posts: 11413
- Joined: Thu Mar 03, 2011 6:52 pm
- Location: Area ???, under Bermuda Triangle
Re: FizzBuzz
16
BOTTOM TEXT
Proud poster of the 300kth post in GeneralThingerDudes wrote:The only reasonable amount of Nutella is infinity. Everything else is too little.
- Anonymously Famous
- JKL; Assassin

- Posts: 11413
- Joined: Thu Mar 03, 2011 6:52 pm
- Location: Area ???, under Bermuda Triangle
Re: FizzBuzz
Fizz
BOTTOM TEXT
Proud poster of the 300kth post in GeneralThingerDudes wrote:The only reasonable amount of Nutella is infinity. Everything else is too little.
- Anonymously Famous
- JKL; Assassin

- Posts: 11413
- Joined: Thu Mar 03, 2011 6:52 pm
- Location: Area ???, under Bermuda Triangle
Re: FizzBuzz
Buzz!
BOTTOM TEXT
Proud poster of the 300kth post in GeneralThingerDudes wrote:The only reasonable amount of Nutella is infinity. Everything else is too little.
Re: FizzBuzz
22
Jeez I loved this game
Jeez I loved this game
Re: FizzBuzz
fizz
-
asdf1234
- Experienced ASDF'er

- Posts: 182
- Joined: Sun Feb 07, 2016 1:07 am
- Location: Death of the Pokemon
- Contact:
Re: FizzBuzz
26...What if someone messes up?
asdf1234
aliases: tigershark22 and firesword1000 (not on this forum)
RAGE QUITTER, DOUBLE POSTER
MATH, TABLE TENNIS, MORE
<PROGRAMMING>Good-bye life<\PROGRAMMING>
NO-ONE GETS OUT ALIVE ANYWAY

SEMI-SPAMMER SEMI-SPAMMER=SPAMMER
aliases: tigershark22 and firesword1000 (not on this forum)
RAGE QUITTER, DOUBLE POSTER
MATH, TABLE TENNIS, MORE
<PROGRAMMING>Good-bye life<\PROGRAMMING>
NO-ONE GETS OUT ALIVE ANYWAY
SEMI-SPAMMER SEMI-SPAMMER=SPAMMER
- Anonymously Famous
- JKL; Assassin

- Posts: 11413
- Joined: Thu Mar 03, 2011 6:52 pm
- Location: Area ???, under Bermuda Triangle
Re: FizzBuzz
28
On a side note, here's a one-line Python 3 script that will print out the numbers from 1 to 100, adhering to the rules of FizzBuzz:
On a side note, here's a one-line Python 3 script that will print out the numbers from 1 to 100, adhering to the rules of FizzBuzz:
Code: Select all
print(*map(lambda x: "FizzBuzz" if x % 15 == 0 else "Fizz" if x % 3 == 0 else "Buzz" if x % 5 == 0 else x, range(1, 101)), sep = "\n")BOTTOM TEXT
Proud poster of the 300kth post in GeneralThingerDudes wrote:The only reasonable amount of Nutella is infinity. Everything else is too little.

