You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
233 B
10 lines
233 B
from sys import version_info
|
|
|
|
if version_info[0] <= 2 and version_info[1] <= 4:
|
|
def all(iterable):
|
|
for element in iterable:
|
|
if not element:
|
|
return False
|
|
return True
|
|
else:
|
|
all = all
|
|
|