Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
find numbers below a given number and divisible by 3 and 5
maynul67
Jul 9th, 2021
1,316
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Python
0.11 KB
| None
|
0
0
raw
download
clone
embed
print
report
i
=
int
(
input
(
"enter given number: "
)
)
for
num
in
range
(
0
,
i
)
:
if
num %
3
==
0
and
num %
5
==
0
:
print
(
num
)
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Untitled
2 hours ago | 11.54 KB
Untitled
3 hours ago | 16.83 KB
Untitled
5 hours ago | 17.66 KB
Untitled
5 hours ago | 10.06 KB
Untitled
9 hours ago | 2.58 KB
Untitled
9 hours ago | 16.77 KB
A.Knight.of.the.Seven.Kingdoms.S01E04.Seven.2...
10 hours ago | 29.38 KB
Untitled
11 hours ago | 12.81 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!