Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

can u length a dictionary in python

obj = {0:"hello", 1:"there"}

for i in range(len(obj)):
  print(obj[i])
  
print(len(obj))
 
PREVIOUS NEXT
Tagged: #length #dictionary #python
ADD COMMENT
Topic
Name
1+9 =