¿Puedes durar un diccionario en Python?
obj = {0:"hello", 1:"there"}
for i in range(len(obj)):
print(obj[i])
print(len(obj))
White Lord
obj = {0:"hello", 1:"there"}
for i in range(len(obj)):
print(obj[i])
print(len(obj))
len({'Name':'Steve', 'Age':30, 'Designation':'Programmer'})
#!/usr/bin/python
dict = {'Name': 'Zara', 'Age': 7};
print "Length : %d" % len (dict)