Размер видео: 1280 X 720853 X 480640 X 360
Показать панель управления
Автовоспроизведение
Автоповтор
Thank you so much for this! I'm trying to learn python and you're the best kind of teacher we can have on youtube.
haiiiiii astolfo :3
I totally agree 👍🏻
you really have an obsession with type hints don't you
The pythonic way to handle the 1st example situation is to use defaultdict, Python will generate default values for missing keys
Yea more people need to use it
what would you return on the setitem and delitem functions to set it up correctly?
I would probably return -> None since they are just performing operations with no output.
Could you explain how to use 'self'? like in def xyz(self): ?
Good day greetings
Great Explanation of the error and how to avoid it. I was just thinking about the Use Case of creating custom subcriptable objects? 🤔
it does not support [doing this]
Are all iterables subscriptable ?
depends on the type, example is enumerate(), you can iterate but isn't subscriptable
generators aren't
Thank you so much for this! I'm trying to learn python and you're the best kind of teacher we can have on youtube.
haiiiiii astolfo :3
I totally agree 👍🏻
you really have an obsession with type hints don't you
The pythonic way to handle the 1st example situation is to use defaultdict, Python will generate default values for missing keys
Yea more people need to use it
what would you return on the setitem and delitem functions to set it up correctly?
I would probably return -> None since they are just performing operations with no output.
Could you explain how to use 'self'? like in def xyz(self): ?
Good day greetings
Great Explanation of the error and how to avoid it. I was just thinking about the Use Case of creating custom subcriptable objects? 🤔
it does not support [doing this]
Are all iterables subscriptable ?
depends on the type, example is enumerate(), you can iterate but isn't subscriptable
generators aren't