1. Write following expressions in python:
a. 1/3 b2h b. πr2h c. 1/3 πr2h d. (x-h)2 + (y - k)2 = r2
2. Int (‘a’) produces error. Why?
3. Find the output of the following code:
a = 12
b = 7.4
c = 1
a - = b
print (a, b)
a *= 2 + c
print (a)
b += a * c
print (c)
Answers
Answered by
0
Answer:
3
Explanation:
2.a is literal
4.6,7.4
36
43.4
1
Similar questions