+ 1

How __getitem__ & __setitem__ works in python ?

Please help me to understand__getitem__ & __setitem__ in python, how it works, where it use?

13th May 2021, 3:19 AM
Prabhjeet
Prabhjeet - avatar
1 Respuesta
0
You can see their application on lists here: https://code.sololearn.com/cX46gl7g9yxD/?ref=app
13th May 2021, 10:57 AM
Endalk
Endalk - avatar