Software Developer's Bookmark
Code & Examples, Tutorials for Software Developers
Monday, January 8, 2018
python dictionary datatypes features
x = {
1
:
2
,
'hello'
:
'boroo'
}
print
x
y =
'world'
x.update({
'x'
:y})
x[
'y'
] =
'yeald'
print
x[
'x'
]
print
x
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment