I would like to give some feedback about ...
From: http://www.checkio.org/mission/fizz-buzz/solve/
HTTP_USER_AGENT:
Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.80 Safari/537.36
Hello,
I got perfect output i.e for checkio(15) code printed "Fizz Bizz" but yet it shows incorrect output for checkio 15!!
MY CODE:
def checkio(number):
if number % 3 == 0 and number % 5 == 0:
print "Fizz Buzz"
elif number % 3 == 0:
print "Fizz"
elif number % 5 == 0:
print "Buzz"
else:
print str(number)
return str(number)
checkio(15)
Created at: 2015/11/08 18:30; Updated at: 2015/11/09 10:13