0
I don’t understand the error in this code...
def checkio(number):
#Your code here
#It's main function. Don't remove this function
#It's using for auto-testing and must return a result for check.
number = int(input("Escolha um numero: "))
while number > 0 and number <= 1000:
if number % 3 == 0:
print ("Fizz")
elif number % 5 == 0:
print ("Buzz")
elif number % 3 == 0 and number % 5 == 0:
print ("Fizz Buzz")
else:
print ("É um outro numero!")
return str(number)
checkio(17)
Got to put the most complete code, I think this missing call the
checkio
, but there’s no way of knowing how he used it.– Guilherme Nascimento