fork(8) download
  1. def checkio(number):
  2. #Your code here
  3. #It's main function. Don't remove this function
  4. #It's using for auto-testing and must return a result for check.
  5. if number % 5 == 0 | number % 3 == 0:
  6. return "Fizz Buzz"
  7. elif number % 3 == 0:
  8. return "Fizz"
  9. elif number % 5 == 0:
  10. return "Buzz"
  11. else:
  12. return str(number)
Success #stdin #stdout 0.02s 9984KB
stdin
Standard input is empty
stdout
Standard output is empty