Pinned Loading
-
AMC-Trainer
AMC-Trainer PublicGenerate math problems from American Mathematical Competition in browser.
-
-
Branchless 1-line Solution to FizzBuzz
Branchless 1-line Solution to FizzBuzz 1for n in range(1, 101): print("fizz" * (n % 3 == 0) + "buzz" * (n % 5 == 0) + ((n % 3 != 0) and (n % 5 != 0)) * str(n));
-
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.