Is there any difference between:
if any([value % 2 for value in values]):
print('done')
and
if any(value % 2 for value in values):
print('done')
where values is an array of 0-20?
I know that any() checks to see if any value in the array meets the requirement, but want to know if there is any difference between the functions.