Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
fizzbuzz in python lmao
Vegetarianboy30
Jan 20th, 2021
754
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Python
0.17 KB
| None
|
0
0
raw
download
clone
embed
print
report
for
i
in
xrange
(
1
,
101
)
:
fizz
=
'fizz'
if
i %
3
==
0
else
''
buzz
=
'buzz'
if
i %
5
==
0
else
''
output
=
fizz + buzz
if
fizz
or
buzz
else
i
print
output
Add Comment
Please,
Sign In
to add comment
Public Pastes
basalt_test.lua
Lua | 1 min ago | 0.60 KB
basalt_test.lua
Lua | 3 min ago | 0.60 KB
basalt_test.lua
Lua | 3 min ago | 0.60 KB
basalt_test.lua
Lua | 18 min ago | 0.53 KB
startup
Lua | 21 min ago | 0.18 KB
MQTT-induction
Lua | 30 min ago | 3.07 KB
turtleapi
Lua | 35 min ago | 1.74 KB
MQTT-turbine
Lua | 36 min ago | 3.13 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!