DEV Community

DDSRY
DDSRY

Posted on

What the difference between a list and a dictionary?

What the difference between a list and a dictionary in Python Programming Language By DDSRY?

  • A lsit is for an ordered list of items.
  • A dictionary (of dict) is for matching some items (called "keys") to other items (called "values").

Top comments (0)