def double_up(number):
for index, value in enumerate(number):
if isinstance(value, bool):
continue
if isinstance(value,(int,float)):
lst[index] *= 2
if isinstance(value, list):
double_up(value)
这样写对吗
double_up(value)
这样写对吗
def double_up(number):
for i in range(len(number)):
number[i]=number[i]*2