"Gabriel Genellina" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] En Sat, 10 May 2008 22:12:37 -0300, globalrev <[EMAIL PROTECTED]> escribió:
| (We used this question last year - some people gave a sensible answer | in less | than 5 minutes, but others did not even know how to start) Another approach I do not remember seeing here (under 10 minutes) fb = ('FizzBuzz', None, None, 'Fizz', None, 'Buzz', 'Fizz', None, None, 'Fizz', 'Buzz', None, 'Fizz', None, None) for i in range(1,101): print(fb[i%15] or i) #3.0
-- http://mail.python.org/mailman/listinfo/python-list