0

Can anybody give me an example?

I am facing some problems to understand the __setitem__() method. I am looking for some examples. So, if you guys can provide me with some easy and understandable examples i would be grateful.

5th Jul 2020, 12:18 PM
Shafayet Arish
Shafayet Arish - avatar
2 Antworten
0
OK, I wrote this code sometime ago, just comment out the __setitem__ part and see the effect https://code.sololearn.com/ckbUO8zuaPGe/?ref=app
5th Jul 2020, 9:00 PM
Fabian Nwobi
Fabian Nwobi - avatar
0
Thanks
6th Jul 2020, 9:58 AM
Shafayet Arish
Shafayet Arish - avatar