Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Day 5 - Exercise FizzBuzz
JkSoftware
Nov 8th, 2021
845
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Python
0.21 KB
| None
|
0
0
raw
download
clone
embed
print
report
total
=
0
for
i
in
range
(
0
,
101
)
:
if
i %
3
==
0
:
if
i %
5
==
0
:
print
(
"FizzBuzz"
)
print
(
"Fizz"
)
if
i %
5
==
0
:
print
(
"Buzz"
)
else
:
print
(
i
)
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Module v1.3 - rate calculation bug (repro + w...
CSS | 7 min ago | 0.99 KB
Bought a $40 MacBook Air
23 hours ago | 0.55 KB
My Amazon Shoppe
1 day ago | 0.40 KB
Untitled
1 day ago | 0.42 KB
.zshrc
Bash | 1 day ago | 1.23 KB
Custom em_printables_pdf_get_invoice_number f...
1 day ago | 0.24 KB
untitled
2 days ago | 26.45 KB
Cry Edit Mode
2 days ago | 2.70 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!