My code is bellow and "" TypeError: 'float' object is not iterable, checkio, 7 "" is displayed.
But I don't understand why this happened.please tell me.
def checkio(*args):
if len(args) == 0:
return 0
else:
M = max(*args)
m = min(*args)
d = M - m
return d
Created at: 2016/03/23 17:27; Updated at: 2019/07/01 08:45