Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок0
what does repr() function does in python?
2 ответов
+ 3
It shows the string representation of an object.
you have a class dog.
with instance Lassie.
now. what shall be shown on
print(Lassie)?
repr() gives the answer