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: 2019/02/23 17:13; Updated at: 2019/02/25 21:40
The question is resolved.