Skip to content

Instantly share code, notes, and snippets.

@cascad-s
Created March 28, 2015 08:34
Show Gist options
  • Save cascad-s/0658d71ab06710406e7c to your computer and use it in GitHub Desktop.
Save cascad-s/0658d71ab06710406e7c to your computer and use it in GitHub Desktop.
fuzz..
def fuzz(a):
if a % 3 == 0 and a % 5 == 0:
return "Fizz Buzz"
elif a % 3 == 0:
return "Fizz"
elif a % 5 == 0:
return "Buzz"
else:
return str(a)
z = fuzz(30)
print(z)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment