20.2k views
4 votes
What is the value of the variable result after these lines of code are executed?

>>> a = 0

>>> b = 2

>>> c = 7

>>> result = a * b - c / a

1 Answer

5 votes

Answer:

Step-by-step explanation:

there is no value of the variable. the program breaks because of division by zero. it tries to divide by zero in the "/ a" part.

User Justidude
by
4.1k points