Skip to content

Instantly share code, notes, and snippets.

@xuefeng-huang
Created May 11, 2016 05:32
Show Gist options
  • Save xuefeng-huang/ccbb459e94cc5a412b188e12e29e149c to your computer and use it in GitHub Desktop.
Save xuefeng-huang/ccbb459e94cc5a412b188e12e29e149c to your computer and use it in GitHub Desktop.

Revisions

  1. xuefeng-huang created this gist May 11, 2016.
    2 changes: 2 additions & 0 deletions fizzbuzz.py
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@
    for x in xrange(100):
    print ('fizz'[x % 3 * 4:] + 'buzz'[x % 5 * 4:] or x)