Commit b3644a7d by BellCodeEditor

auto save

parent 4a991988
from PIL import Image,ImageSequence def jia(S1,S2):
a=S1+S2
print(a)
return a
img = Image.open('dive.gif')
num= 0 jia(437,563)
for i in ImageSequence.Iterator(img):
i.save(r'./img'+str(num)+'.png')
num +=1
\ No newline at end of file
def jiachen(S1,S2,S3):
a=S1+S2+S3
b=S1*S2*S3
print(a,b)
return a
return b
jiachen(2,3,2)
\ No newline at end of file
def shi_liang_wei_shu(SSS):
if SSS>99:
print('否')
elif SSS<10:
print('否')
else:
print('是')
shi_liang_wei_shu(121)
def jia(S1,S2):
a=S1+S2
print(a)
return a
def jiachen(S3,S4,S5):
a=S3+S4+S5
b=S3*S4*S5
print(a,b)
return a
return b
def shi_liang_wei_shu(S6):
if S6>99:
print('否')
elif S6<10:
print('否')
else:
print('是')
def zhen_yin_shu(n):
sum = 0
for i in range(1,n):
if n%i==0:
sum+=i
return sum
for i in range(2,101):
if i==zhen_yin_shu(i):
print(i)
jia(7529,753)
jiachen(368094110,59,24306)
shi_liang_wei_shu(57)
\ No newline at end of file
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