Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

python dict items

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

print(marks.items())


# Output: dict_items([('Physics', 67), ('Maths', 87)])
Comment

PREVIOUS NEXT
Code Example
Python :: how to compare list and int in python 
Python :: reverse a list in python 
Python :: how to add axis labels to a plotly barchart 
Python :: python function create null matrix 
Python :: class __call__ method python 
Python :: fast api template syntax 
Python :: qr code detector 
Python :: python - convert a list column into miltiple columns 
Python :: range in python 
Python :: python string contains substring ignore case 
Python :: split strings around given separator/delimiter 
Python :: python delete key if exists 
Python :: Smart Weather Information App Using Python 
Python :: add legend to colorbar 
Python :: tree in python 
Python :: how to count all files on linux 
Python :: ValueError: invalid literal for int() with base 10: ' pandas 
Python :: list peek python 
Python :: declaring list size python 
Python :: add bootstrap to django form 
Python :: python basic data types 
Python :: string manipulation in python 
Python :: python modulo 
Python :: when iterating through a pandas dataframe using index, is the index +1 able to be compared 
Python :: string to ascii with python 
Python :: map numpy array 
Python :: describe in python 
Python :: python test framework 
Python :: python copy list 
Python :: windows task scheduler python script 
ADD CONTENT
Topic
Content
Source link
Name
1+5 =