12.3k views
1 vote
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:__?

1 Answer

6 votes

Answer:

the answer is 13

Step-by-step 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***

User Ryan Li
by
4.9k points