parent 6683b9b9
Pipeline #30230 failed with stage
in 18 seconds
......@@ -7,11 +7,11 @@ def fizzbuzz(n:int) -> str:
if n%3==0:
return ("Fizz")
return "Fizz"
if n%5==0:
return ("Buzz")
return "Buzz"
if n%3==0 and i%5==0:
return ("FizzBuzz")
return "FizzBuzz"
return str(n)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment