Computer Science, asked by akshetha, 6 months ago

write python expression for mathematical expression ✓a^2+b^2+c^2​

Answers

Answered by allulucky27
0

Answer:

(a**2 + b**2 +c**2)**0.5

Or

import math

math.sqrt(a**2 + b**2 +c**2)

Explanation:

Let's take a = 2, b = 2 , c = 1;

now put the values in equation

=> (2**2 + 2**2 + 1**2)**0.5

=> (4 + 4 + 1)**0.5

=>9**0.5

=>3

Answered by Oreki
1

\textsf{\large \textbf{Given Expression}}

   \sqrt{a^2+b^2+c^2}

\textsf{\large \textbf{Python Expression}}

   \texttt{(a * a + b * b + c * c) *\symbol{42} 0.5}

Similar questions