1: fizz_buzz (and find out why 1,485,294 is divisible by 3)
0:00 -:--
PermalinkShare linkShare link with timestamp
February 19, 2018
Episode 1 Show Notes: pythonoutloud.com/1 These show note were written on the Shinano Train, on Kevin's smartphone, steaming toward the Snow Monkey Park in Nagano, Japan. In Episode 1, we discuss the infamous programming challenge known as FizzBuzz (no space), Fizz Buzz (with a space), or fizz_buzz (in PEP8-friendly syntax). We start off with its origin story, a math game used to teach children division. We then debate whether sitting around in a circle and taking turns saying “one, two, fizz, four, buzz, …” is as fun in the digital age. Even less fun? Fizz Buzz's reputation as a job interview question. For more about this version, see the well-known blog post by Jeff Atwood at https://blog.codinghorror.com/why-cant-programmers-program/ We're still not sure whether Fizz Buzz, or any other math-heavy question, is suitable for determining someone's capacity as a programmer. But as a learning tool, Fizz Buzz does provide a compact way of demonstrating a wide range of programming topics, including variables,…