Skip to content

halimi/fizzbuzz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FizzBuzz

Python implementation of the FizzBuzz game. Using TDD method.

This program will print out a sequence between the given first and last number with the following rules:

  • if the number divisible by 3 then it will replace the number with the "Fizz" word
  • if the number divisible by 5 then it will replace the number with the "Buzz" word
  • if the number divisible by 15 then it will replace the number with the "FizzBuzz" word

An example output between 1 and 15:

1, 2, Fizz, 4, Buzz, Fizz, 7, 8, Fizz, Buzz, 11, Fizz, 13, 14, FizzBuzz,

About

Python implementation of the FizzBuzz

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages