Q19
Computer ScienceChapter 04c: Python — Modules, Packages & Libraries
Question No. 19 (Group C)
Problem Statement
[User-Defined Function] Find the output: def right_triangle(a, b, c): if a*a + b*b == c*c: return "The triangle is Right-angled." else: return "The triangle is Not right-angled." x = 3 y = 4 z = 5 r = right_triangle(x, y, z) print(r)
High Frequency SEE Question Difficulty: Moderate