What is the value of the variable result after this code executed?

>>> a = 7
>>> b = 2
>>> c = 0
>>> result = a * b - b / (c+b)
>>> result

output:__?

Answers

Answer 1

Answer:

the answer is 13

Explanation:

I did the test/assignment but all u have to do is copy and paste each line in python or slove like a regular math problem like so,

7 * 2 - 2 / (0 + 2) = 13

result = 13

**sry for late answer***


Related Questions

NEED ASAP WILL MARK BRAILIEST
Many people are concerned about data privacy. Imagine that you were hired to advise a company about how they can be sure that their customers’ data stays private. What would you tell them?

Answers

Answer:

Conduct a data privacy audit. See where and at what level the company is collecting data and check your legal obligations

Minimize data collection and retention. The more data you hold the more open you are to being hacked and the more data you collect the more you have to answer to customers

Secure the data you keep. With examples of software you use for security

Post a public privacy policy

Provide a forum for complaints.

Explanation:

The Linux operating system is an example of Group of answer choices free-market software. open-source software. pirated software. proprietary software. unreliable software.

Answers

Linux is one of the most prominent examples of free and open-source software collaboration. The source code may be used, modified and distributed commercially or non-commercially by anyone under the terms of its respective licenses, such as the GNU General Public License.

1. An auto repair shop charges as follows. Inspecting the vehicle costs $75. If no work needs to be done,
there is no further charge. Otherwise, the charge is $75 per hour for labour plus the cost of parts, with a
minimum charge of S120. If any work is done, there is no charge for inspecting the vehicle. Write a program
to read values for hours worked and cost of parts (cither of which could be 0) and print the charge for the job. ​

Answers

Answer:

charge = 0

hours_worked = int(input("Enter the hours worked: "))

cost_of_parts = float(input("Enter the cost of parts: "))

if hours_worked == 0:

   charge = 75

else:

   charge = 120 + (75 * hours_worked) + cost_of_parts

   

print("The charge is $" + str(charge))

Explanation:

*The code is in Python.

Initialize the charge as 0

Ask the user to enter the hours_worked and cost_of_parts

Check the hours_worked. If it is 0, that means there is no inspecting. Set the charge to 75

Otherwise, (That means there is an inspecting) set the charge to 120, minimum charge, + (hours_worked * 75) + cost_of_parts

Print the charge

Your file, pets.txt, contains the type of pet, weight, and age on each line. An example line is below: dog, 30, 6 Finish the code to read the file and print the contents. import csv inFile = open('pets.txt','r') myReader = for item in myReader: print(item)

Answers

The Python program is an illustration of the file manipulation process

How to complete the program?

From the code segment in the question, we have the following parameters:

The program is written in PythonThe second line of the program is incomplete

The program written in Python where comments are used to explain each action is as follows:

#This imports the csv packacge

import csv

#This opens the file for a read operation

inFile = open('pets.txt','r')

#This prints the file line by line

print(inFile.read())

Read more about Python programs at:

https://brainly.com/question/24833629

Which of the following is an example of self-awareness?

Answers

Are you sure this is the right subject
5 Examples Of Self-Awareness In Everyday Life

1.) Knowing and accepting your preferences. I am not a morning person. ...

2.) Checking in with your body. Most people don't really notice that their bodies are working for them until they aren't working for them. ...

3.) Choosing to be disciplined (or not). ...

4.) Recapping a conversation. ...

5.) Taking in some beauty.

need help!!!!!!!Write a 200 word paper on the new developments, describing how these effect the telescopes, and in what environments these work best.

Answers

Answer:

Development in science and technology have improved many things.It make the trains more better and comfortable . It has replaced steam engine. Development in science and technology have improved our life easier. Because of science and technology modern scientists have made many things like Metro train , Aeroplane , Modern engine etc. Now anyone can go any part of the world because of the help of development in science and technology. Now their are many way for growing crops, It helps the farmer very much.

Explanation:

Identify the different trends in ICT and use them to their advantage​

Answers

Answer:

The primary new technologies of this decade – Artificial Intelligence (AI), cloud, mobile/5G, cybersecurity, blockchain and the Internet of Things (IoT) – are even more significant and impactful than we may realise.

Using computer technology to harm another person is known as pharming. cyber-bullying. hacking. vishing.

Answers

Answer:

It is B and C.

But what are these, really?

Cyber bullying is when you use your form of technology to harm another person. It can harm them mentally and sometimes is so bad that it can cause depression.

Hacking is to mess with a server which can cause complicated errors and even breakage of code.

▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

I hope this answered your question! Have a wonderful day.

Can someone buy me eddie van der tabs???

Answers

Answer:

No

Explanation:

U cannot exploit people like that

Where are all my smart ppl at? Help me out!!!
A formula =A1+B2 is in cell D8. If you copy that formula to cell D9, what is the new formula in cell D9?

A.) '=A1+B2
B.) '=A2+B3
C.) '=A2+B2
D.) '=B1+C2

Answers

Answer:

ANSWER IS A2+B3

Explanation:

i am shmart.

Answer:

Most def B.

Explanation:

Hope this helped

Which of the following activities Best describes the use of marketing as a form of digital communication
OA An online discount clothing company sends an email about its upcoming sale,
OB. A teacher posts a list of assignments online for students to access
OG A doctor's office emails a patient to remind them about an upcoming appointment
OD. A friend downloads a new song by her favorite artist to her phone.
Reset
Next

Answers

hello!

the answer for this question is:

OA. An online discount clothing company sends an email about its upcoming sale.

hope this helps you!

TRUE or FALSE. 2. 1 Information is a collective term used for words, numbers, facts,

Answers

Answer:

True

it is the best way to get words facts and number

What are the ending contents of the array? Choices show elements in index order 0, 1, 2. int yearsList[3]; yearsList[0] = 5; yearsList[1] = yearsList[0]; yearsList[0] = 10; yearsList[2] = yearsList[1];

Answers

The array yearsList is used to hold multiple values and variables

The ending content of the array are 10, 5, 5

How to determine the ending content of the array

The first line of the program declares an array variable of three elements

int yearsList[3];

The second line assigns 5 to the 0 index

yearsList[0] = 5;

The next line assigns the value of the 0 index to the 1 index.

So, we have:

yearsList[0] = 5;

yearsList[1] = 5;

The next line assigns 10 to the 0 index.

So, we have:

yearsList[0] = 10;

yearsList[1] = 5;

The next line assigns the value of the 1 index to the 2 index.

So, we have:

yearsList[0] = 10;

yearsList[1] = 5;

yearsList[2] = 5;

Hence, the ending contents of the array are 10, 5, 5

Read more about arrays at:

https://brainly.com/question/22364342

>>> password = "sdf345"
>>> password.isalpha()
>>>

Answers

Answer:

False

Explanation:

just took this on edge. have a good one!

Answer:

The answer is False because the first number isn't capitalized.

Explanation:

Have a great day today, and be safe

A storeowner rents movies to customers. How can a database help the store owner?

Answers

The database can help the store owner as it will help them to monitor  the movies, customers, orders, and movie suppliers for their single movie rental store.

What is database?

A database is known to be a kind of organized composition of structured information, or data, that are said to be stored electronically in a computer system.

Conclusively, An example are MySQL, SQL Server, MongoDB, etc. These modern databases are managed by DBMS.

Learn more about database from

https://brainly.com/question/518894

Which of the following least illustrates inequity caused by the digital divide?

Answers

The head of government is in the prime Minister

Which file format cannot be added to a word document.

Answers

Answer:

MP4

Explanation:

Katia wants to listen to online radio on her home computer while she works. What is the best option she should use to get connected to the internet

Answers

The  best option that Katie should use to get connected to the internet is to use broadband.

What is Broadband?

Broadband is known to be a type of telecommunications technology that is created so as to give man a high-speed Internet access through the use of multiple channels of similar digital signals.

Note that  Broadband can help transmit on a wired connection through the use of  coaxial, fiber optic, wirelessly on a cellular network and this can help Katie a lot with her internet connection.

Learn more about internet from

https://brainly.com/question/2780939

What are the components of intel motherboard
List many

Answers

Answer:

1. Mouse & keyboard : There are two types of keyboard and mouse connectors. ...

2. USB (Universal serial bus) : USB is Universal 3. 4. serial bus.

5. Parallel port : ...

6. CPU Chip : ...

7. RAM slots : ...

8. Floppy controller : ...

9. IDE controller : ...

10. PCI slot :

Leslie’s parents put a big dry-erase board on the refrigerator and let the kids write suggestions for how to organize and assign household chores. Which step of problem solving does this situation illustrate?

A. Define the problem
B. Evaluate the solution
C. Determine possible solutions
D. State and check assumptions

Answers

Answer

determine possible solutions

Explanation:

im assuming

ty for the thanks

4 atvantage of a computer

Answers

Answer: High Speed. One of the reasons for improvement in the quality of life is personal computer's speed.

Accuracy. Human make errors.

Automation. A lot of tasks can be automated saving a lot of time.

Ease of Access.

Explanation:

Explain whats Cropping in your own words (photos) ​

Answers

It’s just means to make sure all of the words in the question are cropped enough that the system will be able to process and read it to give you the answers you need I hope this helped!

;w;) - Actually, cropping is just removing parts of a picture to have the main scene on focus. I was once in a photography class, and I took a picture of the Appalachian mountains.

What type of a structure is the best way to iterate through the characters of a string?.

Answers

Answer:Using the character iterator is probably the only correct way to iterate over characters, because Unicode requires more space than a Java char provides. A Java char contains 16 bit and can hold Unicode characters up U+FFFF but Unicode specifies characters up to U+10FFFF.

Explanation:

for jhoantm please don't answer

Answers

I had to answer lol, I’m curious who Jhoantm is?

Answer:

its been a month, i dont think hes going to answer

Explanation:

Please help. Would appreciate it if you answer soon.

Answers

Answer:

C- He shouldn't trust the website for both reasons

Explanation:

Answer:

c

Explanation:

Which student is demonstrating the most effective time-management skills?

Answers

could you please elaborate? i’m not sure what you’re trying to ask!

Answer:

Carlo sticks to a regular study schedule.

Explanation:

I did this already.

40 points!!! Which of the following is a disadvantage of outsourcing?

A) The contracting company may not be able to preform the task.

B) Outsourcing does not allow business to focus on important tasks.

C) Outsourcing has higher costs.

D) It is harder to communicate with an outside company

Answers

Answer:

C.

Explanation:

All the other options are obtainable.

That which can be considered as a disadvantage of outsourcing is;  D) It is harder to communicate with an outside company

What is Outsourcing?

Outsourcing refers to the act of assigning work to contracted employees. This is a very good measure that can be used to help the business save costs and focus on more important tasks.

The money that would have been used in maintaining the staff is used to pay the outsourced company for an agreed period of time.

Usually, the contracted company is specialized in the aspect of the business for which they receive the contract.

The option that qualifies as a disadvantage of outsourcing is that it is harder to communicate with outside companies.

Linguistics with foreign organizations might not be as smooth as with employees.

Learn more about outsourcing here:

https://brainly.com/question/4456416

You recently created a new network segment for the development department. Because the hosts are now on a different network segment, they can no longer contact the DHCP server. Both network segments are connected via a Cisco router.
Which of the following would be the best action to take in order to fix the problem?
a. Install and configure a new DHCP server on the development network segment.
b. Configure the router to forward broadcast messages.
c. Implement an IP helper address on the router.
d. Move the DHCP server to the new network segment.

Answers

The option that would be the best action to take in order to fix the problem is to Implement an IP helper address on the router.

What is DHCP server?

A DHCP Server is known to be a network server that is said to quickly gives and appoints IP addresses, default gateways and other network parameters to client devices.

The Internet Protocol Helper (IP Helper) is said to help network administration of the local computer by helping the applications to get back information based on the network configuration of the local computer, and thus it is good to implement it.

Learn more about  DHCP server from

https://brainly.com/question/14407739

1. It is the main energy provider in the process of food manufacture in the plant kingdom. *

Answers

Plants make their own food by a process called photosynthesis. Photosynthesis is a process used by plants and other organisms to convert light energy into chemical energy and stored in the form of starch which can be used later.

If the user, when asked for his/her date of birth, enters a date in the future, this error should be caught by a ________ check.

Answers

Answer:

The answer is reasonableness.

Your answer is Reasonableness check

Explanation:

Hope this helps! Please let me know if you need more help, or if you think my answer is incorrect. Brainliest would be MUCH appreciated. Have a wonderful day!

Other Questions
On Nicks playlist,5/12 of the songs ore pop what fraction of the songs are not pop used exercises 1-3 ton answer the question Bases are sharp and sweet in taste.TRUEFALSE The louisiana territory more then ___ the size of the u. S. Expand the following b) 3(2x + 3) Can someone answer this question? Who or what events made the most impact on the Civil Rights movement? The sum of the digits of a two-digit number is less than the value of the original two-digit number. What is the equation of the line that passes through the point -4, 8) and has aslope of 4? HELP ASAPVery urgent! 15 points to anyone who answers!! Find the distance between 3 3/8 and 4 5/8 on a number line. Write your answer in simplest form. Write an equation in slope intercept form that has aslope of -3/2 and a y intercept of 9 4.) In what way was the experience of the Mormons similar to the experience of many Americans in this period? Simon is doing an obstacle course in gym class. First, he runs 500 meters and jumps over a hurdle. Then, he crawls through a 20-meter tunnel. Finally, he dribbles a soccer ball 100 meters to the finish line. How many kilometers long is the obstacle course? Find the values of x:I dont understand how to do this please help Maya has 120 caramel apples to sell. Each caramel is covered with one topping. 1/5 of the caramel apple are covered with peanuts 1/3 are covered with chocolate chips 3/10 are covered with coconut The rest with sprinkles How many caramel apples are covered with sprinkles Creating a perception of psychological and physical closeness between speaker and audience is known as. What is the value of x? Someone help plz!Jonathan Edwards would MOST LIKELY agree with which of the following statements? A. Those who profess devotion must declare so publicly, loudly, and often. B. To achieve salvation, one must follow the instruction of ones ministers. C. The true believer can be observed by his or her actions in service of the faith. D. The Christian god is a forgiving one, so you do not need to dwell overlong on your sins. Andre and Jada both found 657 3 using the partial quotients method, but they did the calculations differently, as shown here. How is Jada's work similar to and different from Andres work?Explain why they have the same answer.Can I please have a explanation in words not on a picture if it is on a picture I cant see it so that's why thank you Justin buys a two-quart bottle of juice for $5.12. What is the unit rate of the cost ofthe juice per fluid ounce?1 gallon = 4 quarts1 quart = 2 pints1 pint = 2 cups1 cup = 8 fluid ouncesBefore you try that problem, answer the question below.How many fluid ounces of juice did Justin buy? Why DNA is absent in blood plasma?