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

[User-Defined Function] Find the output: def is_armstrong(n): s = 0 t = n while t > 0: d = t % 10 s += d ** 3 t //= 10 return s == n num = 153 print(is_armstrong(num))

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 17 of 67(Compulsory Math SEE Bank)
23.9%