prettymami1424 prettymami1424
  • 21-12-2020
  • Computers and Technology
contestada

What is the value of the variable result after these lines of code are executed?

>>> a = 2
>>> b = -3
>>> c = 4
>>> result = (a - b) * c
The value of result is
.

Respuesta :

goodLizard
goodLizard goodLizard
  • 25-12-2020

Answer:

20

Explanation:

We can substitute to find the value of result :

(a - b) * c = (2 + 3 ) * 4 (the '*' operator means to multiply)

= 20

Hope this helps :)

Answer Link

Otras preguntas

What role does yeast play in our lives
What is equal representation?
can a n oligarchy include representative and democracy
Which action is taken by an offensive player in the game of lacrosse?
913,256----write the name of the period that has the digits 913? Write the value of the digit 9?
The tightening of credit and a sharp decrease in farm prices touched off the Panic of 1819. a. True b. False
Which component is an example of skill-related fitness?
the continents that touch the artic circle
Pollution in cities during the late 1800s was caused in part by horses, coal, and inadequate sewer systems. a. True b. False
each year lizzies school purchases student agenda books which are sold in the school store this year the school purchased 350 books at a cost of 1.137.50 if the