forked from JayRizzo/Random_Scripts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFizzBuzz.py
27 lines (24 loc) · 828 Bytes
/
FizzBuzz.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/usr/bin/env python3
# =============================================================================
# Created On : MAC OSX High Sierra 10.14.2 (18C54)
# Created On : Python 3.7.2
# Created By : Jeromie Kirchoff
# Created Date: Mon Jan 25 13:44:00 PST8PDT 2019
# =============================================================================
"""THE MODULE HAS BEEN BUILD FOR CONVERTING ALL CHARACTERS TO HTML UNICODE."""
# =============================================================================
def fizzybuzzy():
"""Placeholder."""
i = 1
while i < 101:
if i % 15 == 0:
print('fizzbuzz')
elif i % 5 == 0:
print('buzz')
elif i % 3 == 0:
print('fizz')
else:
print(i)
i += 1
if __name__ == '__main__':
fizzybuzzy()