Explain the following python statements:
a) p*=q;
b) m+=n
c) x-=5;
d) x-=a;
e) a/=b;
Answers
Answered by
1
Explanation:
The answers are:
a) a variable p will be multiplied by a variable q
b) a variable m will be added to a variable n
c) a variable x will get subtracted by 5
d) a variable x will get subtracted by a variable a.
e) a variable a will get divided by a variable b
Remarks:
Please mark me as brainliest if you think my question is worth it.
Answered by
0
Answer:
(a) p*=q
means, p = p * q
(b) m += n
means, m = m + n
(c) x -= 5
means, x = x - 5
(d) x -= a
means, x = x - a
(e) a /= b
means, a = a/b
Similar questions