DISCLAIMER: I am new to python and coding in general
So far I have managed to get this far and my code makes it to test 9 on extra where the test give me the an error stating "TypeError: 'float' object is not iterable, checkio, 3" I have tried switching the return to interger but it does not correctly round and fails on test 3.
Code:
def checkio(args):
if args:
return max(args) - min(*args)
else:
return 0
Created at: Feb. 23, 2019, 5:13 p.m.; Updated at: Feb. 25, 2019, 9:40 p.m.
The question is resolved.