Skip to content

Comments

FizzBuzz Program#52

Open
ira-onic wants to merge 1 commit intoCodeYouOrg:mainfrom
ira-onic:main
Open

FizzBuzz Program#52
ira-onic wants to merge 1 commit intoCodeYouOrg:mainfrom
ira-onic:main

Conversation

@ira-onic
Copy link

@ira-onic ira-onic commented Nov 4, 2024

I wrote a Python program using a while loop with if/elif/else statements to print the numbers 1 - 100. The program prints "Fizz" when the number is divisible by 3, "Buzz" when the number is divisible by 5, and "FizzBuzz" when the number is divisible by both 3 and 5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant