Skip to content

Instantly share code, notes, and snippets.

View Zishan-Rahman's full-sized avatar
⚙️
Due to circumstances that made me busy, I'll be slower to respond, but I'll try!

Zishan Rahman Zishan-Rahman

⚙️
Due to circumstances that made me busy, I'll be slower to respond, but I'll try!
View GitHub Profile
@Zishan-Rahman
Zishan-Rahman / fizzbuzz.py
Created May 14, 2021 14:24
I wrote FizzBuzz in Python because why not?
# FizzBuzz
def fizzbuzz(max):
for i in range(1,max+1):
string = ""
if i % 3 == 0:
string += "Fizz"
if i % 5 == 0:
string += "Buzz"
if not string.__contains__("z"):