Write 1/3pi r2h in python
Answers
Answered by
0
Answer:
from math import pi
s=(1/3)*pi*(r**2)*h
#or
s= (pi*(r**2)*h)/3
Explanation:
I took pi r2h in the denominator
it works according to precedence
PEMDAS (i,e parenthesis, exponential, multiplication and division then addition and subtraction)
Similar questions