Python Programming 69 - __eq__ Method Override

preview_player
Показать описание


~~~~~~~~~~~~~~~ CONNECT ~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~ SUPPORT ME ~~~~~~~~~~~~~~

🅑 Bitcoin - 3HnF1SWTzo1dCU7RwFLhgk7SYiVfV37Pbq
🅔 Eth - 0x350139af84b60d075a3a0379716040b63f6D3853
Рекомендации по теме
Комментарии
Автор

Thank you Caleb Curry for making such a informative video. I have been watching all your tutorials since the first Java tutorial u made. I have now completed the Java tutorial and hv been following your Python video. You are one of the best programming teachers and I hope that you reach 1 million soon

thetechwhogeek
Автор

I'm here since lesson 1. In last fews weeks I've been addicted to studying basics Python through your videos.
I hope futurely work with machine learning IA, . I'm already in chemistry graduation, but I have bigger plans for my future !
Thanks for the great content . Keep it up !

noihr
Автор

And your English is so clear. Thanks a lot ;)

zjefpin
Автор

This is great! I searched around a lot for this, aswell the str method

hejrey
Автор

Thanks a lot for the explanation !
Greeting from Morocco ;)

hamzaabaichi
Автор

Is there a way to have two types of __eq__ in the same class? Idea being to have one for an equal number of pages, and another for an equal title.
By the way, line 20, you could just "return self.title == other.title and self.pages == other pages" and not need lines 21/22.

candlestorms
Автор

Idk why you don't reply lol, you will probably see this, so thank you mate

hackerxxspacex