Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Loop Exercise 2
SansPapyrus683
May 22nd, 2022
1,533
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Python
0.19 KB
| None
|
0
0
raw
download
clone
embed
print
report
# Task print out all odd number from 1 to 20
start
=
1
end
=
20
for
age
in
range
(
start
,
end
)
:
if
age %
2
==
1
:
print
(
age
)
"""
if age is an odd number:
print age
"""
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Validators
Python | 1 min ago | 0.68 KB
seed
JavaScript | 2 min ago | 0.25 KB
📌 EASY PROFIT GUIDE ✅ Still works 🔥 🚨
JavaScript | 9 min ago | 0.20 KB
⚡ 🚀 Swapzone +37% profit glitch ✅📌
JavaScript | 17 min ago | 0.20 KB
📌 Free Crypto Method 🔥 🚨
JavaScript | 29 min ago | 0.20 KB
Untitled
CMake | 36 min ago | 71.73 KB
💎 🔥 Exchange profit method 📝🔥
JavaScript | 46 min ago | 0.20 KB
✅ 💎 Free BTC method 🚨 🔥
JavaScript | 50 min ago | 0.20 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!