what is the value of the variable result after these lines of code are executed?\n>>> a = 10\n>>> b = 2\n>>>…

what is the value of the variable result after these lines of code are executed?\n>>> a = 10\n>>> b = 2\n>>> c = 5\n>>> result = a * b - a / c\nthe value of the variable is .
Answer
Explanation:
Step1: Calculate a * b
$a = 10$, $b = 2$, so $a\times b=10\times2 = 20$
Step2: Calculate a / c
$a = 10$, $c = 5$, so $\frac{a}{c}=\frac{10}{5}=2$
Step3: Calculate result
result=$a\times b-\frac{a}{c}$, substituting the values from step 1 and step 2, we get $20 - 2=18$
Answer:
18