lullaboy's blog

By lullaboy, history, 6 years ago, In English

****Test: #1, time: 77 ms., memory: 0 KB, exit code: 1, checker exit code: 0, verdict: RUNTIME_ERROR****

here is the code :

n = int(input()) for t in range(0, n): t = int(input()) if t % 3 == 0 and t % 5 == 0: print("FizzBuzz") elif t % 3 == 0: print("Fizz") elif t % 5 == 0: print("Buzz") elif t % 3 != 0 or t % 5 != 0: print("")

  • Vote: I like it
  • -25
  • Vote: I do not like it

»
6 years ago, hide # |
 
Vote: I like it +15 Vote: I do not like it

Hey spaghetti, there are no testcases in original problem. Just a single integer N.