class A:
def __str__(self):
return "Custom str"
a = A()
print(a)
Post #2871
699
Что выведет код?
PY Python Tasks & ML | Задачи по питону и машинному обучению @python_tasks · 8.51K subscribers class A:
def __str__(self):
return "Custom str"
a = A()
print(a)