Q18
Computer ScienceChapter 04c: Python — Modules, Packages & Libraries
Question No. 18 (Group C)
Problem Statement

[User-Defined Function] Find the output: def triangle_type(a, b, c): if a == b and b == c: return "Equilateral Triangle" elif a == b or b == c or a == c: return "Isosceles Triangle" else: return "Scalene Triangle" x = 5 y = 5 z = 5 r = triangle_type(x, y, z) print(r)

High Frequency SEE Question Difficulty: Moderate

Need help memorizing these 4 formulas?

Review the Master Formula Cheat Sheet curated by SEE gold medalists.

Open Formula Sheet →
Question 18 of 67(Compulsory Math SEE Bank)
25.4%