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
zimovet [89]
3 years ago
12

PYTHON:Given the dictionary, d, find the largest key in the dictionary and associate the corresponding value with the variable v

al_of_max. For example, given the dictionary {5:3, 4:1, 12:2}, 2 would be associated with val_of_max. Assume d is not empty.
Computers and Technology
1 answer:
lapo4ka [179]3 years ago
4 0

di = {5: 3, 4: 1, 12: 2}

val_of_max = di[max(di)]

print(val_of_max)

I hope this helps!

You might be interested in
What sets Web pages apart from other documents is that they contain a special kind of text called ___, which is document text th
kvv77 [185]

The web pages contain a special kind of text that allowed to respond to the user input is termed hypertext.

<h3>What are web pages?</h3>

The web pages are given as the web server delivery with the displaying of the web browser. It is given with the HTML language and comprises several resources and information.

The web page document is accessed with the presence of the hypertext or the hyperlink that enables the user selection to respond to it.

Learn more about web pages, here:

brainly.com/question/9060926

#SPJ1

5 0
2 years ago
Explain how to implement two stacks in one array A[1..n] in such a way that neither stack overflows unless the total number elem
algol [13]

Answer:

Check explanation

Explanation:

Two stacks can make use of one array by utilizing various stack pointers that begins from different ends of an array. Looking at the array A[1...n], the first stack will drive elements that starts from position 1 as well as to move its' pointer to n.

The Second stack will begin at the n position and motion its' pointer to 1. The best likely divide is to offer each stack a half of an array. whenever any of two stacks transverse the half-point, an overflow can happen but for that overall number of elements, it must be n

5 0
3 years ago
Explain why microcomputers are installed with TCP/IP protocols?​
Kay [80]

Answer:

microcomputers are installed with TCP/IP protocols because its a set of standardized rule that allows the computer to communicate on a network such as the internet

7 0
3 years ago
In the following statement:
inna [77]

Answer: A. Car

Explanation:

Here  the base class member is being protected which is Vehicle. The base class is the Vehicle class and the derived class is Car class.

As the derived class is created or derived from another existing class. So here the class Car has been created through the process of inheritance from the base class which is vehicle. All the methods and variables in Vehicle class are in protected so the only the derived class is able to get access to those variables and methods.

class Car : protected Vehicle

The class Vehicle has been defined earlier and the class Car is created.

The left side is for derived and right side is for base class.

5 0
4 years ago
The technology Herman Hollerith created in the 1880s began the modern-day data processing function in computers.
adell [148]

Answer:

Punch Card Machine

Explanation:

The punch cards or the punched cards are also termed as the Hollerith cards or we also know them as the IBM cards. And they happen to be the paper cards where holes can be punched with the help of the hands or with the help of the machine for representing the computer instructions or data. And these were used on quite a large scale for inputting the data when we talk of the early computers. And this technology was developed by the Herman Hollerith.

7 0
4 years ago
Other questions:
  • In databases and database-related software, which choice is not a Boolean operator?
    7·2 answers
  • Ann wants to create a bookmark. She should
    9·2 answers
  • Which one is a correct answer
    12·2 answers
  • If a user wants to add an expansion card to increase the memory of a computer, where should the user insert the card?
    12·2 answers
  • A(n ________ is information that is passed to a function, and a(n ________ is information that is received by a function.
    15·1 answer
  • Does anyone know what type of Honda this is and the year of it lol this isn’t school related
    10·1 answer
  • Which type of memory helps in reading as well as writing data? With the help of , a computer can read as well as write or modify
    11·3 answers
  • Consider the class ScopeTest defined this way:
    15·1 answer
  • You do not need to remove the lead weights inside tires before recycling them. A) TrueB) False
    15·1 answer
  • I need trash talk for a comeback:
    11·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!