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
solniwko [45]
3 years ago
7

Create a dictionary that maps a fruit name to its color. Both the keys and the values should be stored as strings. Include only

the following three entries in the dictionary: apple (red), orange (orange), and banana (yellow). Store the dictionary in a variable named fruit_dictionary.
Computers and Technology
1 answer:
UkoKoshka [18]3 years ago
6 0

Answer:

Written in Python:

fruit_dictionary = {}

fruit_dictionary = {'apple': 'red', 'orange': 'orange', 'banana': 'yellow'}

Explanation:

First (although, not necessary), we create an empty dictionary named fruit_dictionary on line 1

Next, we populate the dictionary using the following syntax:

{key-1:value-1, key-2:value-2,......,key-n:value-n}

In this case, the entry would be:

{'apple': 'red',

'orange': 'orange',

'banana': 'yellow'}

The items on the first column (i.e. apple, orange and banana) are the keys while the items on the second (i.e. red, orange and yellow) are the values of the dictionary

To print the items in the dictionary, you can add  the following line of code:

<em>print(fruit_dictionary.items()) </em>

You might be interested in
Can someone pls tell me how?​
sertanlavr [38]

Explanation:

yaaaaaaaaaassssssss

7 0
3 years ago
All of the following are report sections EXCEPT (Points : 4) detail.
lord [1]

Answer:Summary

Explanation: Summary is the briefing of any information or data and reducing the details about the subject.It is not a part of the report while it is designed because detailing is the part where the description is mentioned with every element so the requirement for summary is in that part and not in the report.

Other option are the part of the report designing because group footer is used for presenting the summaries of group, page footer the area below the main text and detail is the description of every element of the subject.Thus the only exception in the designing of report is summary.

6 0
3 years ago
The following binary numbers are 4-bit 2's complement binary numbers. Select all operations that generate overflow. Verify your
kogti [31]

Answer:

The 4-bit 2's complement = 0100 = 4

Explanation:

Let the binary number = N

Hence, N-bit = 2∧N

The 4-bit can be as follow: 1100

Hence, the 2's complement = 0011 + 1 = 0100

3 0
4 years ago
Discuss similarities and differences between the software development and video game development processes.
Eduardwww [97]

Answer:

video games are used with qraphecs and software is compute

Explanation:

6 0
3 years ago
Provide an example of an IT project from your readings, experience, and/or other sources and discuss some of the challenges face
vlada-n [284]

Answer:

kindly check the explanation.

Explanation:

Getting any project to be a successful one is not an easy task at all as many projects failed even before it nears completion stage. The Project Management Institute[PMI] states that only 69% [mean percentage] are able to complete and meet the original goals for and business intent of the project.

The reasons behind this failed IT projects are numerous, few of them are given below:

=> <em>When estimates for the IT project is inaccurate. Th inaccuracy  do cause IT projects to not meet the target. </em>

<em />

<em>=> When the available resources are not enough and there is poor project management it causes the IT projects to fail.</em>

<em />

<em>=> When team members are not diligent. The procrastination of team members do lead to failed projects.</em>

<em />

The ways that such problems can be overcome in order to to achieve successful outcomes is given below;

=> Someone should be held accountable. That is there should be a seasoned and qualify project manager to supervise the project and can be hold accountable for how things turns how to be.

=> The scope of the project should be flexible so that when things changes the plan can also change.

=> Making sure that all the estimates are accurate.

7 0
3 years ago
Other questions:
  • Use the balanced equation of a nitrogen cycle pathway below to support the conservation of matter and energy. N2 + 8 H --&gt; 2
    9·1 answer
  • A batholith is an example of a(n) _____ igneous rock (one of the two main igneous rock groups).
    9·2 answers
  • A digital clock on a small cooking appliance keeps time by?
    7·1 answer
  • When all RGB colors have the same value, the resulting color will most likely be some variation of _______________.
    11·1 answer
  • . Why did the designers of the Synchronous Digital Hierarchy choose unusual values for data rates instead of the exact powers of
    11·1 answer
  • Say you write a program that makes use of the Random class, but you fail to include an import statement for java.util.Random (or
    10·1 answer
  • Your mom calls you. She is creating a book of poetry. Many of these poems only take up the first half of a document . She asks i
    10·2 answers
  • Which of the following is the easiest way for visitors to learn about a business while visiting a website?
    13·1 answer
  • Discuss briefly general-purpose graphicsprimitives that contain 2D graphics library.
    15·1 answer
  • 1. Define the term Intranet.
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!