Commit 1d686072 authored by Boto Sanchez, Fernando's avatar Boto Sanchez, Fernando
Browse files


parent 5ea71e66
Pipeline #30225 failed with stage
in 18 seconds
......@@ -7,11 +7,11 @@ def fizzbuzz(n:int) -> str:
for i in range(1,101):
if i%3==0 and not i%5==0:
print "Fizz"
print ("Fizz")
if i%5 and not i%3==0:
print "Buzz"
print ("Buzz")
if i%3==0 and i%5==0:
print "FizzBuzz"
print ("FizzBuzz")
return ""
Supports Markdown
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