1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
irinina [24]
3 years ago
5

Which of these are correctly formatted Python dictionaries? Check all that apply. dict = {‘Name’: ‘Matthew’, ‘Age’: 14, ‘School’

: ‘ABC School’}; dict = (‘Name’: ‘Mary’, ‘Age’: 13, ‘School’: ‘XYZ School’) dict = [“Programming Basics”, “Introduction to Python”] dict = {‘season’: ‘fall’, ‘weather’: ‘cool’}; dict = ’[‘laptop’, ‘computer’, ‘hard drive’]
Computers and Technology
2 answers:
Advocard [28]3 years ago
7 0

Answer:

A. dict = {‘Name’: ‘Matthew’, ‘Age’: 14, ‘School’: ‘ABC School’}

Explanation:

Since <em>python does not use type when declaring a variable</em>, you must make sure you make your variables correctly or else it won't compile correctly. Lists use braces[]; Strings use quotes, "" or ''; Integers are just declared with a number(s); Dictionaries use brackets{} and inside are <u>attributes of something</u>. For instance, you can use dictionaries to describe ages, {'"Bryan": 6, "Alex": 13, etc.} <u>Sort of like a json file</u>. Dictionaries also tend to use <u>uppercase letters</u> when describing something. The only answer that has all the attributes correct is A. dict = {‘Name’: ‘Matthew’, ‘Age’: 14, ‘School’: ‘ABC School’}

hope i helped :D

natulia [17]3 years ago
7 0

Answer:

The answer is A dict = {‘Name’: ‘Matthew’, ‘Age’: 14, ‘School’: ‘ABC School’}; and dict = {‘season’: ‘fall’, ‘weather’: ‘cool’};. I hoper this helps. Have a great day.

Explanation:

I just did the assignment on ed and got them right.

Have a great day.

You might be interested in
Senior executives at a global manufacturing company are determining the key performance indicators they'll use to judge how effe
ella [17]

Answer:

Campaign metrics.

Explanation:

Senior executives at such a multinational packaging corporation are defining primary success metrics that they can use to determine the efficacy of certain web video advertising promotions on Google Ads.

A Campaign Metrics Standards are being established because it is the Marketing Metrics which provide quantifiable values utilized by communication managers to illustrate the success of initiatives through all communication platforms.

8 0
2 years ago
Computer networks allow computers to send information to each other. What is the term used to describe the basic unit of data pa
blondinia [14]

Answer:

The word is server

Explanation:

8 0
3 years ago
What is the relationship between agile teams and project requirements
spin [16.1K]

Answer:

Agile follows a non-linear process, unlike conventional project management, which focuses more on teamwork, cooperation, and versatility, as opposed to a strict sequence of activities.Agile project management takes an iterative approach to project management, which time-boxes tasks into fast sprints.

Explanation:

4 0
3 years ago
Which of the following is an example of phishing attack? csp
TEA [102]
There are no examples you imbecile it’s A
4 0
3 years ago
What are the advantages of Napier bones?​
Alja [10]

Answer:

portability and simplicaity are the featues of napier bones

8 0
3 years ago
Other questions:
  • Tommy has hired a marketing company to create a billboard advertisement
    11·2 answers
  • A disadvantage of creating a website with tables, without CSS is
    15·2 answers
  • When you hack a website, do you enter in the master code in the html section code data, or the offline/online system?
    14·1 answer
  • Person-name: String+setName(String name): void+getName(): String^Student-studentID: long+Student(String sname, long sid)+setID()
    10·1 answer
  • To communicate with an expansion card, one part of the ____ bus runs between RAM and the processor; the other part runs between
    13·1 answer
  • Which of these is the proper flow for an Auto Trans cooling system?
    7·2 answers
  • You are configuring two PCs for your network, PC-A is given an IP address of 192.168.1.18 and PC-B is given an IP address of 192
    15·1 answer
  • The getElementById DOM Method do?
    13·1 answer
  • Merging refers to dividing a single cell into multiple cells. *TrueFalse
    14·1 answer
  • What starts with p and ends with orn
    15·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!