def sub_sum(L):
sum=0
num=0
for i in L:
if i%2==0:
sum=sum+i
else:
num=num+i
return sum,num
if else两个语句之间的缩进是一个tab😳