Skip to content

Commit

Permalink
200~DSA Clinics Entry Challenge~
Browse files Browse the repository at this point in the history
  • Loading branch information
craizytech committed Oct 9, 2024
1 parent 1a591d0 commit 9759df4
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions craizytech/reverse_integer.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/usr/bin/python3


def fizzbuzz():
for i in range(1, 101):
if i % 3 == 0 and i % 5 == 0:
print("FizzBuzz")
elif i % 3 == 0:
print("Fizz")
elif i % 5 == 0:
print("Buzz")
else:
print(i)

fizzbuzz()

0 comments on commit 9759df4

Please sign in to comment.