You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
programming-basics-2022/08_python/magic/nmp.py

7 lines
127 B

class DF:
def __getitem__(self, key):
return key
def __setitem__(self, key, value):
print(key, value)