Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Apr 8th, 2020
146
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
def
prime
(
n
)
:
for
i
in
range
(
2
,
10
)
:
if
n % i
==
0
:
return
False
return
True
n
=
int
(
input
(
"One positive integer please: "
)
)
print
(
prime
(
n
)
)
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
OoT rando seed 4/16
21 min ago | 67.81 KB
Untitled
47 min ago | 8.21 KB
Untitled
1 hour ago | 8.46 KB
Untitled
2 hours ago | 7.62 KB
Web Maintenance Kickoff [POST REDESIGN]
3 hours ago | 0.98 KB
Untitled
3 hours ago | 7.43 KB
Untitled
4 hours ago | 6.56 KB
Untitled
5 hours ago | 16.10 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!