Write a program to check if …

CBSE, JEE, NEET, CUET
Question Bank, Mock Tests, Exam Papers
NCERT Solutions, Sample Papers, Notes, Videos
Posted by Thakur Abhishek Raghuvanshi 4 years, 2 months ago
- 1 answers
Related Questions
Posted by Vanshika Prajapati 1 year, 9 months ago
- 1 answers
Posted by Rupesh Rupesh 1 year, 9 months ago
- 2 answers
Posted by Payal Kumari 1 year, 9 months ago
- 0 answers
Posted by Catherine Tympuiñ 1 year, 5 months ago
- 0 answers
Posted by Catherine Tympuiñ 1 year, 5 months ago
- 1 answers
Posted by Jeevesh Jeevesh 1 year, 5 months ago
- 1 answers
Posted by M.Sameeha _ 1 year, 4 months ago
- 0 answers
Posted by Manasvi Bhutada 1 year, 5 months ago
- 1 answers

myCBSEguide
Trusted by 1 Crore+ Students

Test Generator
Create papers online. It's FREE.

CUET Mock Tests
75,000+ questions to practice only on myCBSEguide app
myCBSEguide
Sia ? 4 years, 2 months ago
num = int(input("Enter a number: "))
sum = 0
temp = num
while temp > 0:
digit = temp % 10
sum += digit ** 3
temp //= 10
if num == sum:
print(num,"is an Armstrong number")
else:
print(num,"is not an Armstrong number")
0Thank You