Q1. WAP to check whether 60 is a perfect number or not and display an appropriate message "60 is a perfect number" or "60 is not a perfect number"
respectively
Answers
Answered by
48
Answer:
hello,
its a python program
Explanation:
#program to check whether 60 is a perfect number or not and display an appropriate message
n=60
sum=0
for i in range(1,n):
if n%i==0:
sum+=i
if sum==60:
print( "60 is a perfect number" )
else:
print( "60 is not a perfect number")
hope it helps you
please mark brainliest
@ItzSnowySecret07
Answered by
46
USING PYTHON:
Attachments:
Similar questions
Physics,
2 months ago
Math,
2 months ago
Biology,
10 months ago
Environmental Sciences,
10 months ago
Computer Science,
10 months ago