Erik Taubeneck’s Unpythonic Python

Check out his solutions to FizzBuzz, a programming puzzle that has become common to ask interviewees, applying idioms from many programming languages, all in Python.

2 thoughts on “Erik Taubeneck’s Unpythonic Python

  1. I had to write some perl-ish perl, just for fun:

    foreach $i (1 .. 100) {
    $str .= "Fizz" unless $i % 3;
    $str .= "Buzz" unless $i % 5;
    print $str || $i, "\n";

Comments are closed.