• Fizz-Buzz>>Assertion Error: "6 is divisible by 3"

Question related to mission Fizz Buzz

 

Hi all! I cannot understand, why assertion error "6 is divisible by 3" is thrown on this code:

if not number % 3 and not number % 5:
    print("Fizz buzz")
elif not number % 3:
    print("Fizz")
elif not number % 5:
    print("Buzz")
else:
    return str(number) 
return 'Fizz Buzz'

Would be grateful for help and explanation!

9