#申小龙
dj=float(input(“请输入单价”))
jinshu=float(input(“请输入斤数”))
money=djjinshu
if money>=300:
vip=int(input(“请输入vip级别:”))
if vip==1:
money=0.8
print(“8折后”,money)
else:
fq=int(money)-int(money)%10
print(fq)
else:
print(“付钱:”,money)
print(“送苹果一个”)
money=int(input(“请输入钱:”))
while money>=10:
money-=10
print(“吃西瓜,剩下”,money,“元”)
print(“我的钱是”,money)
he=0
i=1
while i<=100:
he+=i
i+=1
print(he)
ji=1
i=50
while i>=30:
ji*=i
i-=3
print(ji)
ji=1
i=30
while i<=50:
if i%30 or i%70:
ji*=i
print(ji)
i+=1
#申小龙
for i in range(3,67,8):
print(i)
print(“结束”)
he=0
for i in range(1,101):
he+=i
print(he)
i=200
for i in range(200,301):
gw=i%10
sw=i//10%10
if gw+sw==10:
print(i)
i=30
ji=1
for i in range(30,51):
if i%30 or i%70:
ji*=i
print(ji)
i=1
while i<=10:
score=int(input(“请输入第%d个人的成绩”%i))
if score<0:
print(“异常”)
break
i+=1
print(“继续”)
i=1
while i<=10:
score=int(input(“请输入第%d个人的成绩”%i))
if score<0:
print(“异常”)
continue
i+=1
j=1
while j<=5:
i=1
while i<=5:
print("*",end=’’)
i+=1
print()
j=+1
i=1
while i<5:
j=1
while j<i:
print("*",end=’’)
j+=1
print()
i+=1
a=int(input(“请输入整数:”))
i=2
while i<a:
if a%i==0:
print(a,“不是质数”)
break
i+=1
else:
print(a,“是质数”)
i=1
while i<=10:
print(i)
i=10
while True:
print(i)
line=1
while line<10:
colume=1
while colume<=line:
print("{}{}={}".format(colume,line,columeline),end=’\t’)
colume+=1
print()
line+=1
#申小龙 第二遍
dj=float(input(“请输入单价:”))
jinshu=float(input(“请输入斤数”))
money=djjinshu
if money>=300:
vip=int(input(“请输入vip等级”))
if vip==1:
money=0.8
print(“8折后”,money)
else:
fq=int(money)-int(money)%10
print(fq)
else:
print(“付钱:”,money)
print(“送苹果一个”)
money=int(input(“请输入钱:”))
while money>=10:
money-=10
print(“吃西瓜,剩下”,money,“元”)
print(“我的钱是,”,money)
he=0
i=1
while i<=100:
he+=i
i+=1
print(he)
ji=1
i=50
while i>=30:
ji*=i
i-=3
print(ji)
for i in range(3,43,3):
print(i)
print(“结束”)
he=0
for i in range(1,101):
he+=i
print(he)
i=200
for i in range(200,301):
gw=i%10
sw=i//10%10
if gw+sw==10:
print(i)
i=1
while i<=10:
score=int(input(“请输入第%d个人的成绩”))
if score<0:
print(“异常”)
break
i+=1
i=1
while i<10:
print(i)
i=10
while True
print(i)
j=1
while j<=5:
i=1
while i<=5:
print("*",end=’\t’)
i+=1
print()
j+=1
i=1
while i<5:
j=1
while j<=i:
print("*",end=’\t’)
i+=1
print()
j+=1
a=int(input(“请输入整数:”))
i=2
while i<a:
if a%i==0:
print(a,“不是质数”)
break
i+=1
else:
print(a,“是质数”)
line=1
while line<10:
colume=1
while colume<=line:
print("{}{}={}".format(colume,line,columeline),end=’\t’)
colume+=1
print()
line+=1
#第三遍
money=int(input(“请输入钱:”))
while money>10:
money-=10
print(“吃西瓜,剩下”,money)
print(“我的钱是”,money)
he=0
i=1
while i<100:
he+=i
i+=1
print(he)
ji=1
i=50
while i>=30:
ji*=i
i-=3
print(ji)
for i in range(2,34,2):
print(i)
print(“结束”)
he=0
for i in range(1,101):
he+=i
print(he)
i=200
for i in range(200,301):
gw=i%10
sw=i//10%10
if gw+sw==10:
print(i)
i=30
ji=1
for i in range(30,51):
if i%30 or i%70:
ji*=i
print(ji)
i=1
while i<=10:
score=int(input(“请输入第%d个人的成绩”%i))
if score<0:
print(“异常”)
break
i+=1
i=1
while i<=10:
score=int(input(“请输入第%d个人的成绩”%i))
if score<0:
print(“异常”)
continue
i+=1
j=1
while j<=5:
i=1
while i<=5:
print("*",end=’\t’)
i+=1
print()
j+=1
a=int(input(“请输入整数:”))
i=2
while i<a:
if a%i==0:
print(“不是质数”)
break
i+=1
else:
print(a,“是质数”)
line=1
while line<10:
colume=1
while colume<=line:
print("{}{}={}".format(colume,line,columeline),end=’\t’)
colume+=1
print()
line=+1
#第四遍
money=int(input(“请输入钱:”))
while money>=10:
money-=10
print(“吃西瓜,剩下”,money)
print(“我的钱是”,money)
he=0
i=1
while i<=100:
he+=i
i+=1
print(he)
ji=1
i=50
while i>=30:
ji*=i
i-=3
print(ji)
for i in range(2,33,4):
print(i)
print(“结束”)
he=0
for i in range(1,101):
he+=i
print(he)
i=200
for i in range(200,301):
gw=i%10
sw=i//10%10
if gw+sw==10:
print(i)
i=1
while i<=10:
score=int(input(“请输入第%d个人的成绩”%i))
if score<0:
print(“异常”)
break
i=+1
i=1
while i<=10:
score=int(input(“请输入第%d个人的成绩”%i))
if score<0:
print(“异常”)
continue
i=+1
i=1
while i<5:
j=1
while j<=i:
print("*",end=’\t’)
j+=1
print()
i+=1
a=int(input(“请输入整数:”))
i=2
while a>i:
if a%i==0:
print(“不是质数”)
break
i+=1
else:
print(a,“是质数”)
line=1
while line<10:
colume=1
while colume<=line:
print("{}{}={}".format(colume,line,columeline),end=’\t’)
colume+=1
print()
line+=1
#第五遍
money=int(input(“请输入钱:”))
while money>=10:
money-=10
print(“吃西瓜,剩下”,money)
print(“我的钱是”,money)
he=0
i=1
while i<=100:
he+=i
i+=1
print(he)
ji=1
i=50
while i>=30:
ji*=i
i+=1
print(ji)
for i in range(2,345,2):
print(i)
print(“结束”)
he=0
for i in range(1,101):
he+=i
print(he)
i=200
for i in range(200,301):
gw=i%10
sw=i//10%10
if gw+sw==10:
print(i)
i=1
while i<=10:
score=int(input(“请输入第%d个人的成绩”%i))
if score<0:
print(“异常”)
break
i+=1
i=1
while i<=10:
score=int(input(“请输入第%d个人的成绩”%i))
if score<0:
print(“异常”)
continue
i+=1
i=1
while i<5:
j=1
while j<=i:
print("*",end=’\t’)
j+=1
print()
i+=1
a=int(input(“请输入一个整数”))
i=2
while a>i:
if a%i==0:
print(“不是质数”)
break
i+=1
else:
print(a,“是质数”)
line=1
while line<10:
colume=1
while colume<=line:
print("{}{}={}".format(colume,line,columeline),end=’\t’)
colume+=1
print()
line+=1