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

what is the value of the variable result after these lines of code are executed?\n>>> a = 6\n>>> b = 2\n>>> c = 3\n>>> result = a * b - a / c\nthe value of the variable is
Answer
Explanation:
Step1: Substitute values
Given $a = 6$, $b = 2$, $c = 3$, substitute into result = $a*b - a/c$. So we have $6\times2-6\div3$.
Step2: Calculate multiplication and division
First, calculate $6\times2 = 12$ and $6\div3=2$. Then the expression becomes $12 - 2$.
Step3: Calculate subtraction
$12-2=10$.
Answer:
10