Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- __author__ = 'JDearing'
- def fizbuxx(min=0, max=100, fizz=3, buzz=5):
- for x in range(min,max):
- if(x%fizz == 0 and x%buzz == 0):
- print ("fizzbuzz %d" % x)
- elif (x%fizz == 0):
- print("fizz %d" % x)
- elif(x%buzz == 0):
- print('buzz %d' % x)
- fizbuxx(fizz=7)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement