В
return self.ingredients
Size: a a a
В
E
E
E
В
E
E
E
В
$
E
БГ
E
БГ
py3
class C:
__instances = []
def __init__(self):
self.__instances.append(self)
def __iter__(self):
yield from self.__instances
C()
C()
for i in C:
print(i)
Traceback (most recent call last):
File "1643701590/source.py", line 10, in <module>
for i in C:
TypeError: 'type' object is not iterable
E
E
БГ
E