Course
Simulator
More
Premium
Log in
Python Function Reference
Functions
dict
dict
Create a new dictionary.
Python 3.13
dict
(
**
kwargs
)
Examples
Python 3.13
>>
>
dict
(
a
=
1
,
b
=
2
)
{
'a'
:
1
,
'b'
:
2
}