Why is this article link grayed out and missing it's up arrow?
2,542 karma · joined January 8, 2009
"Guinness said in a 1999 interview that it was actually his idea to kill off Obi-Wan... 'What I didn't tell Lucas was that I just couldn't go on speaking those bloody awful, banal lines. I'd had enough of the mumbo jumbo.'"
from __future__ import print_function
def fizzbuzzify(integers):
for i in integers:
if i % 15 == 0:
yield 'Fizbuzz'
elif i % 3 == 0:
yield 'Fizz'
elif i % 5 == 0:
yield 'Buzz'
else:
yield str(i)
print(', '.join(fizzbuzzify(range(1, 101))))
for i in fizzbuzzify(range(1, 101)):
print(i)