Posted by: Pdfprep
Post Date: March 7, 2021
True or False:
A list(…) may contain a number of values of the same type while an object(…) can contain a number of values of different types.
A . True
B . False
Answer: A
Explanation:
A collection type allows multiple values of one other type to be grouped together as a single value. This includes a list, map, and set.
A structural type allows multiple values of several distinct types to be grouped together as a single value. This includes object and tuple.
Leave a Reply