0 votes
in Python by
What is a compound datatype?

1 Answer

0 votes
by

Compound data structures are single variables that represent multiple values. Some of the most common in Python are:

  1. Lists - A collection of values where the order is important.
  2. Tuples - A sequence of values where the order is important.
  3. Sets - A collection of values where membership in the set is important.
...