Skip to content

JamesZheng109/FizzBuzz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

FizzBuzz

The FizzBuzz Test put into a funtion.

Variable include:

  • beg_num=number you want the counter to start at. 0 if left blank.
  • end_numb=number you want the counter to stop at. 30 if left blank.
  • num_1=number and any other number divisible by it, then replaced them with word1. 3 if left blank
  • num_2=number and any other number divisible by it, then replaced them with word2. 5 if left blank
  • word1=word that replaces all numbers divisible of num_1 (make sure it is a string). "Fizz" if left blank.
  • word2=word that replaces all numbers divisible by num_2 (make sure it is a string). "Buzz" if left blank.

About

This exists to do the FizzBuzz test

Topics

Resources

Stars

Watchers

Forks

Languages