Skip to content

ይህ ትምህርት ገና ወደ አማርኛ አልተተረጎመም፤ ስለዚህ በእንግሊዝኛ ቀርቧል። የእንግሊዝኛውን ገጽ ክፈቱ

The Python data model

በቅርቡ

Implement dunder methods like __repr__, __str__, __eq__, __len__, and __getitem__.

You'll be able to

  • Provide developer-friendly strings with __repr__ and user strings with __str__
  • Implement equality and sorting with __eq__ and __lt__
  • Make objects emulate sequences with __len__ and __getitem__

በቅርቡ

This lesson is being written. It will be free here, like every lesson. The Telegram channel announces new lessons as they open.