Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python dict items

marks = {'Physics':67, 'Maths':87}

print(marks.items())


# Output: dict_items([('Physics', 67), ('Maths', 87)])
Source by www.programiz.com #
 
PREVIOUS NEXT
Tagged: #python #dict #items
ADD COMMENT
Topic
Name
5+4 =