Commit f72f0319 by BellCodeEditor

auto save

parent 6832c3ce
a=2
while a<1453:
if 1453%a==0:
print("合数")
a=a+1
print("合数")
\ No newline at end of file
a=1
j=0
o=0
while a<1653:
if a%2==0:
o=o+1
else:
j=j+1
a=a+1
print(j)
\ No newline at end of file
a=1
j=0
o=0
while a<1653:
if a%2==0:
o=o+1
else:
j=j+1
a=a+1
print("奇数个数=",j)
print("偶数个数=",o)
\ No newline at end of file
=1
=0
while <34:
=33-
if *4+*2==88:
print(,)
=+1
\ No newline at end of file
i=1
b=[]
c=[]
while i<10001:
if i%2==0:
c.insert(0,i)
else:
b.insert(0,i)
i=i+1
print ("偶数:",c)
print ("奇数:",b)
\ No newline at end of file
a=1
b=0
while a<12346:
if a%7==0:
b=b+a
a=a+1
print("和=",b)
\ No newline at end of file
import turtle
a=4
pen=turtle.Pen()
pen.shape("turtle")
pen.begin_fill()
pen.end_fill()
while a<8:
for i in range(a):
pen.forward(20)
pen.right(360/a)
a=a+1
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment