What is the missing line of code?
22
>>> books = {294: 'War and Peace', 931:'Heidi', 731:'Flicka'}
>>>
dict_keys([294, 931, 731])
O books allo
O books.values()
O books
O books.keys()

Answers

Answer 1

Answer:

books.keys()

Explanation:

I ran the code and the awncers though python and books.keys() is the one that came up with the awncer

Answer 2

books.keys() is the missing line of code with respect to the books with the help of Python language.  Thus, option D is correct.

What is a code?

In a certain programming language, a collection of commands or a collection of rules are referred to as computer code. It's also the name given to the source code just after the translator has prepared it for computer execution.

Code is a developing company that focuses on producing aesthetically pleasing, code-correct internet, application forms, and phone application.

The correct code will be according to the Python language will be in addition to books.keys():

books.keys()

books = {294: 'War and Peace', 931:'Heidi', 731:'Flicka'}

books.keys()

dict_keys([294, 931, 731])

Therefore, option D (books.keys()) is the correct option.

Learn more about code, here:

https://brainly.com/question/17204194

#SPJ2


Related Questions

anyone please help me with his I keep on getting confused

Answers

Answer:

InDesign- Desktop publishing software

Illustrator- Enterprise software

DreamWeaver- Web development software

Photoshop- Graphic design software

Hope this helps!

given that play_list has been defined to be a list, write an expression that evaluates to a new list containing the elements at index 0 through index 4 in play_list. do not modify play_list.

Answers

Answer:

new_list = play_list[0:4]

Explanation:

new_list = play_list[0:4] is an expression that evaluates to a new list containing the elements at index 0 through index 4 in play_list.

What do you mean by an expression?

A syntactic item in a programming language that may be evaluated to discover its value is known as an expression in computer science. Statement, a grammatical construct that has no meaning, is frequently contrasted with expression.

It is a grouping of one or more constants, variables, functions, and operators that the programming language interprets and calculates (in accordance with its own principles of precedence and association). For mathematical expressions, this procedure is known as evaluation.

In straightforward contexts, the outcome is typically one of several primitive kinds, such as a complex data type, a complex data string, a complex data Boolean type, or another type.

A function, and hence an expression that contains a function, may have side effects in many programming languages. Normally, a side effect-containing phrase lacks referential transparency. Expressions can be converted into expression statements in various languages by adding a semicolon (;) at the end.

Learn more about expression, here

https://brainly.com/question/16804733

#SPJ5

6. Which devices of computer is known processing devices? las >​

Answers

Answer:

CPU is known as processing devices..!

Match each type of option on the left with a corresponding function on the right.

Answers

Answer:

yes. the above is correct

Explanation: q posted

Answer: Anwer is correctly shown!!!!!!!!

Explanation:

HOPE IT HELPS Y'ALL!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

gourmet pizza shop with a
Question 19
What type of competition does Netflix and a movie theater represent for each other?
A Weak direct competition
B Strong direct competition
C Indirect competition
D Global competition

Answers

Answer:

B.Strong direct competition.

Explanation:

Netflix can be viewed by anyone and at anytime.

Strong direct competition is the type of competition does Netflix and a movie theatre represent for each other. Hence, option B is correct.

What is Strong direct competition?

Direct competition occurs when multiple companies compete for the same market by offering the same product or service. There are several common examples of this.

One is the rivalry between McDonald's and Burger King; specifically, the Whopper and the Big Mac are bitter rivals. Direct competition is when two or more enterprises directly compete for the same potential market by offering almost similar goods or services.

Are actions taken by public authorities or governments to lessen the competitiveness of imported goods and services in comparison to locally produced ones. poor straight competitor The primary concentration is on one product.

Thus, option B is correct.

For more information about Strong direct competition, click here:

https://brainly.com/question/28739321

#SPJ2

Write steps of the following operations.
a. applying borders and spacing
b. create a folder​

Answers

Answer:

b

Explanation:

first right click on an empty space

click on new from the pop up menu

finally click on new folder

An IT security threat is anything that might cause serious harm to a computer system.
Question 16 options:
True
False

Answers

Answer:

True

Explanation:

this is true because a threat can endanger the computer and its system

Write any two uses of ruler in word program

Answers

Answer:

1.It is used for draw the table, making results and assignments etc.

2.It is used for lining

Explanation:

Hope it helps

#CARRYONLEARNING

in addition to good design sense, what else do web designers need to be proficient in?

Answers

In addition to good design sense, web designers need to be proficient in front-end coding languages.

A web designer refers to an individual who is saddled with the responsibility of writing executable codes (instructions) for the design and development of a website, especially by using a hypertext markup language (HTML).

Generally, it is expected that all web designers a good design sense in website development. Additionally, web designers need to be proficient in front-end coding languages, so as to ensure the graphical display and user-interface (UI/UX) are attractive and properly rendered.

Some examples of front-end coding languages include:

CSSHTMLJavascriptReactJQuerryVue

Read more on web design here: https://brainly.com/question/8391970

When the logging and managing information flow between management hosts and the managed devices travels on a dedicated management network, this is considered what?

Answers

What must be considered is the number of IPs that are allowed to access the management network.

We can arrive at this answer because:

During the management of information flow, it is necessary to guarantee the security of the system, preventing intruders from attacking.This can be done by restricting authorized IPs to access the management interface.This type of security measure is often neglected in systems that use a dedicated management network, as this type of network can only be accessed by a single device in the same VLAN.

However, the IPs restriction must be considered even in this system, as there are software that can provoke invasions that cause the leak of shared information.

You can find more information about software here:

https://brainly.com/question/24032221

Helena set the price of her scarves at $20. How is she using money?

Answers

Helena is using money as a unit of account.

Money is anything that is accepted and used as a means of payment for products and it used to repay debts.

Functions of money

Unit of account : it is used to value goods and services. Helena values her scarves as $20. Medium of exchange : money can be used to exchange for goods and services. For example, the person who buys the scarves for $20 uses money as a medium of exchange.  Store of value : money can be kept for extended periods and it would not lose its value.

To learn more about store of value, please check: https://brainly.com/question/25965295

I need help with this

Answers

Answer:

It is used for the title of a page or post

Which of the following rules need to be followed when using variables?
Choose all that apply.

Answers

Answer:

- All variable names must begin with a letter of the alphabet or an. underscore( _ ).

-After the first initial letter, variable names can also contain letters and numbers.

-Uppercase characters are distinct from lowercase characters.

-You cannot use a C++ keyword as a variable name.

Answer:

Variable names must begin with a letter or an underscore( _ )

After the first initial letter, variable names can also contain letters and numbers. ...

Uppercase characters are distinct from lowercase characters. ...

You cannot use a keyword as a variable name.

Explanation:

which part lets you point to objects on your screen, click on them, and even move them?

Answers

Mouse lets you point to objects on your screen, click on them, and even move them.

A computer is a machine that can be programmed to carry out sequences of arithmetic or logical operations automatically. Modern computers can perform generic sets of operations known as programs.

A computer mouse is a handheld hardware input device that controls a cursor in a GUI (graphical user interface) for pointing, moving and selecting text, icons, files, and folders on your computer.

Find out more on mouse at: https://brainly.com/question/22247989

Complete a flowchart and a Python program to calculate grade of a student based on marks using the following criteria:

Ask a student for their marks and if their marks are:

More than 90 – print “A*”

Between 80 and 90 – print “A”

Between 70 and 80 – print “B”

Between 60 and 70 – print “C”

Between 50 and 60 – print “D”

Between 40 and 50 – print “E”

Under 40 – print “Fail”

Answers

Answer:

grade = int(input("Enter grade: ")

if grade > 90:

   print("A*")

elif grade > 80 and grade < 90:

   print("A")

elif grade > 70 and grade < 80:

   print("B")

elif grade > 60 and grade < 70:

   print("C")

elif grade > 40 and grade < 50:

   print("E")

else:

   print("Fail")

Explanation:

Unit 6: Lesson 2 - Coding Activity 1 AP Computer science

Answers

The complete program is to define a boolean method that returns true if all elements of an array are negative, or return false, if otherwise

The method in java, where comments are used to explain each line is as follows:

//This defines the method

public static boolean chkNegative (double[] myArr) {

   //This initializes a boolean variable

   boolean isNeg = true;

   //This iterates through the array

   for (int i = 0; i < myArr.length; i++) {

     //If the array element is 0 or positive

     if (myArr[i] >= 0) {

         //Then the boolean variable is set to false

       isNeg = false;

       //And the loop is exited

       break;

     }

   }

   //This returns true or false

   return isNeg;

 }

Read more about boolean methods at:

https://brainly.com/question/18318709

Software that is used to detect and eliminate computer viruses. Question 3 options: Wi-Fi Cable Internet Antivirus Application Browser

Answers

Answer:

Anti Virus

Explanation:

Antiviruses (Windows Defender, McAfee, Avast) scan your computer/device for viruses.

which computer language uses short words known as mnemonics for writing programs?

Answers

The answer is Assembly

when a driver receives a text while driving, what can 2022 versa’s hands-free text messaging assistant do?

Answers

Answer:

It can translate text to voice

Explanation:

Discussion Topic:
Web maintenance plays a vital role in a website's development. It helps ensure
the online presence of any website by performing regular updates. Discuss the
benefits of web maintenance.

Need help can someone answer plz

Answers

Answer:

Prevents lagging

Explanation:

This prevents the website from being slow and upto shape so those who access it dont have difficulties

I have a problem. I can't cycle between game packs on my strike pack, I've watched so many vids I'm on Xböx and I'm holding the left button and clicking right paddle and it does nothing! If you could help it would be appreciated

if anyone knows how to help please do some people might not even know what a strike pack is only respond if you do please ​

Answers

Answer:

Maybe if u put the disk back in, or restart it if it doesn't do anything hope this helped.

Explanation:

Maybe if u put the disk back in, or restart it if it doesn't do anything hope this helped.

A bulb has a resistance of 15Ω and is rated at 3A. What is the maximum voltage that can be applied across the bulb?

Answers

Answer:Wheres the option choice??????????????????????

Explanation:

A means of giving credit to a source when their information is used.
Question 15 options:

Citation

Wi-Fi

Asynchronous Communication

Malware

Answers

It is a citation for the answer

How many letters is in whatyoudoingareyougood

Answers

Answer:

43847823773 letters

Explanation:

haha to easy

Answer:

22 letters, 6 words.

:) hope this helps! <3

A computer has __ IP address(es).


A. Many
B. One

Answers

Answer:

A computer has one IP address(es).

One

Explanation:

Have a great day!

Physical components of a computer system such as a keyboard, mouse, or modem.

Question 25 options:


Software


Network


Browser


Hardware

Answers

Answer:

D

Explanation:

D: Hardware. These are the things like mouse or Modem that you can touch physically.

Software is what the computer runs to make itself useful.

Network is the connection (either virtual or physical) that connects computers together.

Browser is a software program used to navigate the internet

what is syllabus of diploma in computer after class 10​

Answers

Answer:

[tex] \: [/tex]

List Of Best Computer Courses After 10th :

Certificate Program In MS OfficeBasic Computer CourseWeb Designing CourseDigital Marketing CourseData Entry CourseGraphic Designing CourseWeb Development CourseAnimation And VFX CourseComputer Science Diploma/EngineeringDiploma In Financial Accounting

A state in which two things are able to exist or occur together without problems or conflict...
Question 18 options:

Compatibility

Prototype

Packet

Static

Answers

Answer:

Compatibility

Explanation:

that's the definition of compatibility.

Ethan is afraid that his poor grades will get him kicked out of his university at the end of the semester. He decided to remotely access the dean's computer and change his grades in the school system. If caught, Ethan will have to confess to committing what?

A.
virtual education

B.
grade hacking

C.
a computer crime

D.
educational fraud

Answers

Answer:

Computer Crime

Explanation:

You're evading someones privacy and gaining access to their computer or device without consent. Therefore, it is a computer crime.

Answer:

Educational fraud

Explanation:

Ethan changed his grades in the school system claiming to have better grades then he really does.

2. Input a decimal number and test if it is not equal to 16.5.


3. If a number x, input from the keyboard is greater than 57, add 4 to x and print the

answer.


4. Input two numbers and find the average only if they are both less than 100.

Answers

Answer:

2:

decNum = float(input("Decimal number: "))

if decNum != 16.5:

   print("Does not equal")

elif decNum == 16.5:

   print("Equal")

else:

   pass

3:

if x > 57:

   x += 4

   print(x)

4:

numOne = int(input("Enter number: "))

numTwo = int(input("Enter number: "))

if numOne < 100 and numTwo < 100:

   yes = numOne + numTwo

   print(yes // 2)

else:

   pass

Explanation:

Please give me brainliest.

Other Questions
he native people of Puerto Rico and Cuba before Columbus arrived were known asIndiosTanosCaribeosAztecas Solve 3-x/2-42 B. x > -30 C. X< -30 D. X Select the common noun(s).Eleven needs to stop by the mall later? Factor the expression completely: x3 - 48x A cruise ship is traveling northwest so that it makes a 45-degree angle with the east-west line. If it has traveled 35 miles from its starting point, what are the components of the vector s formed by the ship's path? Nicole got a prepaid debit card with $25 on it. For her first purchase with the card, she bought some bulk ribbon at a craft store. The price of theribbon was 22 cents per yard. If after that purchase there was $17.52 left on the card, how many yards of ribbon did Nicole buy? Assume that students in a course are required to produce a written report on an ICT-related the topic each semester. If you wanted to create a model to estimate how long it should take a student to complete such an assignment, what measure of work content would you use? Some reports might be more difficult to produce than others: what factors might affect the degree of difficulty? Provide a list of factors and explain each briefly. 20 PNTSA(n) _______ is a way citizens may bypass their legislature in order to get an amendment on the ballot.A. runoffB. initiativeC. recallD. primary HELP ME PLEASE 20 POINTSIn a certain chemical the ratio of zinc to copper is 4 to 17 a jar of the chemical contains 595 grams of copper. How many grams of zinc does it contain Is it possible to arrange 152 books on a shelf so that the first shelf has 7 fewer books than the second shelf and 11 more than the third shelf? please help me im horrible at spanish Bonnie is going to purchase a billboard to promote her new restaurant. She needs to calculate her gross rating points. What two factors does she need to know What sparked the Irish nationalist movement? f(x) = -3x +4 when x = -5 show every step Adam works for an agency.His normal hourly rate is 8.32The agency asks Adam to work 6 hours for a new company.Adam will be paid time and a third of his normal hourly rate.How much will Adam get paid in total when working for the new company Sarah opened a savings account with a $725 deposit. This account earns 3.5% annual interest compounded twice each month. How long will it take her account to reach a balance of $2000 if there are no other deposits or withdrawals. PLEASE HELP ME please please I NEED HELP!!!!!Please write two or three paragraphs about your opinion aboutDo celebrity get off easier when they break the law? Which statement is true about the function f(x)= Vx?O The domain of the graph is all real numbers.O The range of the graph is all real numbers.O The domain of the graph is all real numbers less than or equal to 0.O The range of the graph is all real numbers greater than or equal to 0. Miguel glues a ribbon border around the edges of a 5-inch by 8-inch picture to create a frame. What is the total length of ribbon Miguel uses?