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
If you could pick xbox or playstation what would you pick?And why :)?
Tasya [4]

Answer:

Nintendo Switch

Explanation:

I like Pokémon

3 0
3 years ago
Read 2 more answers
Which wildcat character will return a single character when using the find dialog box
Dima020 [189]

Answer:

?

Explanation:

We have a set of wildcard characters. And they are the? and *. We use * for multiple characters, and ? for the single character. / is used for an escape sequence. like if we want to use it? as a symbol and not as wildcard characters, then we will make use of the /. And suppose we want to find all the words that are of type ?ard like the card and hard, then we will make use of ? which means that place can be replaced by one character.

8 0
4 years ago
A flowchart that depicts the relationships among the input, processing, and output of an AIS is
White raven [17]

Answer:

Option C is the correct answer for the above question.

Explanation:

A system flowchart is a picture form of all the processes of the system or software for which this flowchart is designed. It is used for the detailed design of the input, process, and output of the system. The above question asked about the type of flowchart which is used to tell the relationship between output, processing, and input of the system, which is the system flowchart which is described above. Hence the answer is option c while the other is not correct because--

  • Option 'a' states about an internal control flowchart, which is not the type of the flowchart.
  • Option b states about a document flowchart, which is used to describe the document flow.
  • Option d states about a program flowchart, which is used to describe the flow of the program.
6 0
3 years ago
Your computer monitor’s power switch is in the ‘ON’ position; however, the display is blank. Which of the following is NOT a lik
Yuri [45]
Answer : Monitor may be in sleep/hibernate mode.
7 0
3 years ago
Create an array of strings. Let the user decide how big this array is, but it must have at least 1 element. Prompt them until th
Brums [2.3K]

Answer:

lst = []

n = int(input("Input an array size for you words array: "))

print("Now please enter " + str(n) + " words")

max = 0

min = 1000

index_min = 0

index_max = 0

for i in range(n):

   s = input("Input a word: ")

   lst.append(s)

   if len(s) >= max:

       max = len(s)

       index_max = i

   if len(s) <= min:

       min = len(s)

       index_min = i

print("The longest word is :" + lst[index_max])

print("The shortest word is :" + lst[index_min])

Explanation:

Create an empty list, lst

Get the size from the user

Create a for loop that iterates "size" times

Inside the loop, get the strings from the user and put them in the lst. Find the longest and shortest strings and their indices using if structure.

When the loop is done, print the longest and shortest

5 0
4 years ago
Other questions:
  • What document is created to identify the areas of testing of a website?
    8·1 answer
  • All objects in an object-oriented program are instantiated (created) from a ____.
    12·1 answer
  • What operating system type uses icons to represent programs
    9·2 answers
  • Technology offers a variety of rich opportunities available to teachers and students. According to Inan and Lowther (2010), ther
    6·1 answer
  • What is a nonlinear presentation?
    14·2 answers
  • The amount of money you can charge to a credit card is called?
    5·2 answers
  • What type of filtering software divides email messages that have been received into two piles, spam and non-spam and then analyz
    13·1 answer
  • How many lines of text are in your questionnaire document
    5·1 answer
  • This component is responsible for the logical order of processing?
    11·1 answer
  • Do you all like IXL?
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!