How to create a dictionary in Python

Опубликовано: 04 Октябрь 2024
на канале: Enthought
38,721
180

In this short tutorial, you will learn how two different kinds of syntax for creating dictionaries with data in Python. Want to learn more? See our Python classes at https://goo.gl/r415bd.

Read the documentation for dictionaries here: https://docs.python.org/3/library/std...

Code from video:
*****************
{'one': 1}
dict(one=1)
dict(1='one')

Connect with us!
*****************
  / enthought  
  / enthought  
  / enthought