Skip to content

Instantly share code, notes, and snippets.

Avatar

Michael Bianchi michaeldbianchi

View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am michaeldbianchi on github.
  • I am michaeldbianchi (https://keybase.io/michaeldbianchi) on keybase.
  • I have a public key ASD8Wn50tGN7QCOEwEoE0rHygBgT017T16plr29foAEh7Qo

To claim this, I am signing this object:

View keybase.md

Keybase proof

I hereby claim:

  • I am michaeldbianchi on github.
  • I am michaeldbianchi (https://keybase.io/michaeldbianchi) on keybase.
  • I have a public key ASDdpT6zoJBY8ae1FQHHWyrcsqNgAtJUfQFuk0TgfPEWXAo

To claim this, I am signing this object:

@michaeldbianchi
michaeldbianchi / fizzbuzz.py
Last active Jan 31, 2019
Fizzbuzz in Python 3
View fizzbuzz.py
#!/usr/bin/env python3
### Prep
from itertools import count # needed for infinite generator
n = 100 # Set print amount
### Infinite Generator
fzbz_gen = (('fizz'*(not val%3) + 'buzz'*(not val%5)) or val for val in count(1))
You can’t perform that action at this time.