daynavibez
daynavibez daynavibez
  • 22-10-2020
  • Computers and Technology
contestada

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:__?

Respuesta :

zeogameboy zeogameboy
  • 26-10-2020

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***

Answer Link

Otras preguntas

tan20+tan40+tan60.......+tan180=?
If the square has the same perimeter as the rectangle, find the area of the square.
what kind of government did rome have fifth, from 324-476 A.D (Constantine to the fall of Rome)
What is the distance between (3, -8) and (0, -2)
The total weight of 5 bars of chocolate and a bag of sugar is 3.4 lb. If the weight of the bag of sugar is 1.1 lb, find the weight of each bar of chocolate.
Which payment type is best if you are trying to stick to a budget? A Credit Card B Debit Card C Cash Advance D Payday Loan
How is the principle of open opportunity different from guaranteeing success to everyone in the marketplace?
Please answer these math problems about rational and irrational numbers
environmental advantage of using plant oil
Ellie was still working on her dollhouse. She has boards that are two different lengths. One long board is 54 inches. The length of the short board is unknown.