Quick actions

cmd+k|ctrl+k

Navigation

Languages

Dictionary Methods

Snippet info

Language

Python

Visibility

public

Author

ankushsahu203

Created

2026-07-18T06:34:24.184831Z

Updated

2026-07-18T06:34:24.184831Z

user={
    "basket":[1,2,3],
    "greet":"hello",
    "age":20
    
    
    
    
}
print(user.get("age",55))


user2=dict(name="Ankush")
print(user2)
INFO