def fizzbuzz(limit):
    ret = []
    limit = limit or 15
    for i in xrange(1, int(limit) + 1):
        if i % 15 == 0:
            ret.append("FizzBuzz")
        elif i % 3 == 0:
            ret.append("Fizz")
        elif i % 5 == 0:
            ret.append("Buzz")
        else:
            ret.append(str(i))
    return ret
Use ?limit=n to set the limit. See http://rosettacode.org/wiki/FizzBuzz for more info.
dataset/ETHPy150Open mahmoud/clastic/examples/basic.py/fizzbuzz