diff --git a/Fizz Buzz.py b/Fizz Buzz.py new file mode 100644 index 0000000..f9dc553 --- /dev/null +++ b/Fizz Buzz.py @@ -0,0 +1,17 @@ +''' Fizz Buzz Game +the number is divisible by 3 and 5 is Fizz Buzz and fizz for 3 and Buzz for 5''' + +print("Lets start the Fizz Buzz Game",end='\n\n') +t=int(input("Please enter the end range of the game:")) +p=t+1 +p=int(p) +for i in range(1,p): + if(i%3==0 and i%5==0): + print(i,"= Fizz Buzz") + else: + if(i%3==0): + print(i,"= Fizz") + elif(i%5==0): + print(i,"= Buzz") + else: + print(i) diff --git a/README.md b/README.md index e0283d6..c744091 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,7 @@ Note your Pull Request will only get approved if you insert only one line to thi Who **like** the SBCS mascot, Bytes? (List your name here). - Lise +- Mainak Who **DOES NOT like** the SBCS mascot, Bytes? (List your name if you want a new Bytes). - No one