• Problem with generator

 

I would like to give some feedback about one of the tests, when i want to check my programm. Fourth one: min(abs(i) for i in range(-10, 10)), but the argument "abs(i) for i in range(-10, 10)" is not generator (without []). May be test should be like this: min([abs(i) for i in range(-10, 10)])?

Thank you for solution

From: https://py.checkio.org/mission/min-max/solve/

HTTP_USER_AGENT:

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36