Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Jun 21st, 2018
93
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.23 KB
| None
|
0
0
raw
download
clone
embed
print
report
a=[]
for num in range(4,2050):
for i in range (2,num):
if num%i==0:
j=num/i
print('%d 等于 %d * %d' %(num,i,j))
break
else:
a.append(num)
print('质数数量为%d'%(len(a)))
Add Comment
Please,
Sign In
to add comment
Public Pastes
🤑 G2A.com Free Gift Card Guide May 2024 FIX 💰
GetText | 2 sec ago | 0.38 KB
Sigma style
LScript | 9 min ago | 0.10 KB
M1SCO Style
LScript | 11 min ago | 0.09 KB
Kiwami style
LScript | 14 min ago | 0.10 KB
Tardis - Alarm System
Lua | 30 min ago | 0.10 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 55 min ago | 0.39 KB
Anti Lock 67su
Lua | 1 hour ago | 2.14 KB
Vampirism code
Ruby | 1 hour ago | 0.68 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!