Skip to content

Commit

Permalink
Merge pull request #1 from CLCK-Data-Aug2023/main
Browse files Browse the repository at this point in the history
Feedback
  • Loading branch information
Barleead authored Oct 26, 2023
2 parents 4de3c93 + 346eeec commit 1577cdf
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[![Open in Visual Studio Code](https://classroom.github.com/assets/open-in-vscode-718a45dd9cf7e7f842a935f5ebbe5719a5e09af4491e668f4dbf3b35d5cca122.svg)](https://classroom.github.com/online_ide?assignment_repo_id=12590591&assignment_repo_type=AssignmentRepo)
# FizBuzz
Code Louisville Python programming exercise

Expand Down
12 changes: 11 additions & 1 deletion fizzbuzz.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,12 @@
# add your code here
##fizzbuzz bonus challenges
for x in range(1, 101):
if x % 3 == 0 and x % 5 == 0:
print('FizzBuzz')
elif x % 5 == 0:
print('Buzz')
elif x % 3 == 0:
print('Fizz')
else:
print(x)


0 comments on commit 1577cdf

Please sign in to comment.