def checkio(*args):
ma=0
la=10
if len(args)==0:
return 0
for x in args:
if x<la:
la=x
for x in args:
if x>ma:
ma=x
ran=float(ma-la)
return ran
when I run my code it works fine, but when I check the code it says answer =0.07 and sas its wrong
Created at: 2020/01/06 17:28; Updated at: 2020/01/06 22:57
The question is resolved.