A quick task for you

Now that you are familiar with lists and dictionaries, here is a quick task for you to review your knowledge.

Q1. What is the proper syntax to use when creating a dictionary?

  1. ( )
  2. { }
  3. " "
  4. [ ]

Q2. What kinds of data can be included in one list?

  1. Strings only
  2. Floats only
  3. Integers and floats
  4. All datatypes can be included a list

Q3. What is the proper syntax to use when creating a list?

  1. ( )
  2. { }
  3. " "
  4. [ ]

Get Python Projects for Kids now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.