TG Telegram Group & Channel
Machinelearning tests | United States America (US)
Create: Update:

Что выведет код?

class X:
def __init__(self, l):
self.l = l
def __iter__(self):
return (x for x in self.l)
a = X([1, 2])
b = X([3, 4])
print(*chain(a, a, b, b))

Что выведет код?
class X:
def __init__(self, l):
self.l = l
def __iter__(self):
return (x for x in self.l)
a = X([1, 2])
b = X([3, 4])
print(*chain(a, a, b, b))


>>Click here to continue<<

Machinelearning tests




Share with your best friend
VIEW MORE

United States America Popular Telegram Group (US)