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
DerKrebs [107]
3 years ago
9

BlockPy: #43.1) Dictionaries vs. Tuples Create a dictionary to store the dimensions for a box. Then, create a tuple to store the

dimensions. Finally, give an example of accessing the same value in both the dictionary and tuple representation and printing them. You should only print one value from each of the two data structures. Length: 6 Width: 8 Height: 4
Engineering
1 answer:
QveST [7]3 years ago
8 0

Answer:

#Define the dictionary.

a_dictionary = {"Length": 6,"Width": 8,"Height": 4}

#Define the tuple.

a_tuple = (6,8,4)

print("The length of the box in the dictionary is: ", a_dictionary["Length"])  

print("The length of the box in the tuple is: ", a_tuple[0])

You might be interested in
Does anyone know obamas last name???? please help its for a friend I swear!!!111!!11!
ANTONII [103]

Answer:

Explanation:

Barack Hussein Obama

6 0
3 years ago
Write a matrix, that is a lower triangular matrix.
shepuryov [24]

Answer:

\left[\begin{array}{ccc}10&0&0\\14&25&0\\57&18&39\end{array}\right]

Explanation:

A lower triangular matrix is one whose elements above the main diagonal are zero meanwhile all the main diagonals elements and below are nonzero elements. This is one of  the two existing types of triangular matrixes. Attached you will find a image referring more about triangular matrixes.

If there is any question, just let me know.

6 0
4 years ago
PLEASE HELP, TEST MULTIPLE CHOICE QUESTIONS
Rina8888 [55]

Answer:

c

Explanation:

dbfjex vadamhqrmtwg

8 0
3 years ago
Read 2 more answers
A piston moves a 25kg hammerhead vertically down 1m from rest to a
UkoKoshka [18]

Answer:

Total change in energy = 31 KJ.

Explanation:

Mass m=25 kg

Height h = 1 m

Initial velocity = 0

Final velocity = 50 m/s

Energy at initial condition

E_1=mgh+\dfrac{1}{2}mv^2

E_1=25\times 10\times 1+0

E_1=250\ J

Energy at final condition

E_2=0+\dfrac{1}{2}\times 25\times 50^2

E_2=31250\ J

So the change in energy = 31250 -250 J

The total change in energy = 31000 J

5 0
4 years ago
Read 2 more answers
A successful quality strategy features which of the following elements? engaging employees in the necessary activities to implem
Alona [7]

Answer:

Quality strategy is an integral part of organization's strategy that ensures quality. It involves market and productivity strategies that have a very high significance.  A successful quality strategy must endeavour to have features such as; engaging employees in the necessary activities to implement quality, an organizational culture that fosters quality and an understanding of the principles of quality.

All these will enable the organization to stand out and beat competition.

5 0
3 years ago
Read 2 more answers
Other questions:
  • Write a Python program that does the following. Create a string that is a long series of words separated by spaces. The string i
    14·1 answer
  • A settling tank with 50 foot diameter and a SWD of 9 feet treats
    6·1 answer
  • What is the relative % change in P if we double the absolute temperature of an ideal gas keeping mass and volume constant?
    14·1 answer
  • Write a C program that will update a bank balance. A user cannot withdraw an amount ofmoney that is more than the current balanc
    13·1 answer
  • Which is true about the workplace of Construction workers?
    15·2 answers
  • A 35kg block of mass is subjected to forces F1=100N and F2=75N at agive angle thetha= 20° and 35° respectively.find the distance
    11·1 answer
  • Sort the following alphabets using MergeSort and give required steps. [2 Marks]
    9·1 answer
  • How is electricity made from fossil fuels such as coal?.
    10·1 answer
  • If you are being tailgated and need to make a stop, you should
    12·1 answer
  • The ratio between the modulating signal voltage and the carrier voltage is called?.
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!