Mercurial > hg > config
view python/example/fizbuzz.py @ 773:5fc00e09e805
remove some obsolete PATH
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Sat, 16 Apr 2016 11:28:44 -0700 |
parents | 2b0d254d4271 |
children |
line wrap: on
line source
#!/usr/bin/env python for i in range(1,101): print ''.join([label for val, label in ((3, 'Fizz'), (5, 'Buzz')) if not i % val]) or i