Skip to content

Latest commit

 

History

History
17 lines (9 loc) · 273 Bytes

17-15-现场出了一个100-10000之间,打印出各位数字相加能被15整除的整数,每行打印十个.md

File metadata and controls

17 lines (9 loc) · 273 Bytes

17-15-现场出了一个100-10000之间,打印出各位数字相加能被15整除的整数,每行打印十个

def chu(strum,endnum)

sum = 0

for i in range(strum,endnum):

if i%15 == 0;

sum=sum+1

print(i,’,’)

if sum%10==0

pint(‘/n’)