Skip to content

Instantly share code, notes, and snippets.

View yasinnaal's full-sized avatar

Yasin M Naal yasinnaal

View GitHub Profile
@yasinnaal
yasinnaal / fizzbuzz.py
Created June 19, 2023 19:17
fizzbuzz challenge Python snippets
# fizzbuzz challenge
"""
The "Fizz-Buzz test" is an interview question designed to help
filter out the 99.5% of programming job candidates
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”."