size of dict python code example
Example: can u length a dictionary in python
obj = {0:"hello", 1:"there"}
for i in range(len(obj)):
print(obj[i])
print(len(obj))
obj = {0:"hello", 1:"there"}
for i in range(len(obj)):
print(obj[i])
print(len(obj))