gargshal gargshal
  • 17-01-2021
  • Computers and Technology
contestada

Choose the type of collection created with each assignment statement. collectionA = {5:2} collectionB = (5,2) collectionC = [5, 2]

Respuesta :

arwenlove2008
arwenlove2008 arwenlove2008
  • 28-01-2021

Answer:

CollectionA is Dictionary

CollectionB is List

CollectionC is Tuple

Explanation:

List is recognized by the square brackets

Tuple by the parentheses

Dictionary by the curly brackets

Answer Link
cattlefan cattlefan
  • 17-11-2021

Answer:

Dictionary collectionA

Tuple collectionB

List collectionC

Explanation:

A dictionary uses curly brackets. A tuple uses parentheses. A list uses square brackets.

Answer Link

Otras preguntas

six nickels is what percent of $1.00?
How many different kinds of monomers are there in nucleic acids?
Name the sets of numbers to which each number belongs: square root of 25 0.16 repeating 9/3 7/3 negative square root of 144 21/7 square root of 17
What are two key characteristics of cancer cells?
Describe what occurs during activation of the lac operon.
How many different kinds of monomers are there in starch?
Why is pattern baldness more common in men than in women?
Give two examples of steroids
When making a guess and retesting this information, a theory or ___________ may be formed which explains why something has occurred or what it may look like?
A farm has cows and ducks. There are 78 feet and 27 heads. How many of each animal are there? How do you know?