Fizz Buzz in Python
It is said that the fizz buzz question/coding challenge can filter many prospective candidates from a job interview, and as such it has become expected while interviewing, I hope you will get a good understanding along with solutions in python after reading this short post.
➤ Side Note: I have always had a mix feeling about coding interviews for filtering out candidates and how effective they really are, you can read more about my reasoning here : Hire me notBut I am also not kidding myself, coding interviews, challenges, white boarding and leet code are the norm these days...And since a lot of good folks learning a language are also interested in getting a coding job, I feel I need to write more about this aspect.Onwards then !
The Fizz Buzz Coding Challenge :
“Write a program that prints the numbers from 1 to 100. But for multiples of three print “Fizz” instead of the number and for the multiples of five print “Buzz”. For numbers which are multiples of both three and five print “FizzBuzz”.”