Dec-18-2018, 03:20 PM
hello,
i suppose that behind the:
but i am not so sure which duner exactly stays behind:
i suppose that behind the:
>>> ca = {1:'koko', 2:'boko'} >>> 1 in ca True >>> 5 in ca Falsestays the dict's dunder '__contains__'
but i am not so sure which duner exactly stays behind:
>>> ca = {1:'koko', 2:'boko'} >>> ca [3] = 'loko' >>> ca {1: 'koko', 2: 'boko', 3: 'loko'} >>>i think it could be '__setitem__', but i am not sure. is this '__setitem__' or some other special method? thanks in advance!
if the fans of jerry springer are more than the fans of carl sagan they will rule over us! what we gonna do?