__str__ and __repr__ for Integers in Python

后端 未结 0 348
南笙
南笙 2020-12-12 16:04

New to Python. Basic understanding is __ repr __() gives the object representation/info (I know it sounds silly) of an object while __ str __() gives the S

相关标签:
回答
  • 消灭零回复
提交回复
热议问题