Answers for "search number is complete or no python"

0

search number is complete or no python

number=int(input("enter the number :"))
s=0
for i in range (1,number):
    if(number%i==0):
        s+=i
if(s==number):
    print("the number is true")    
else :
    print("the number is not true")
Posted by: Guest on October-25-2021

Code answers related to "search number is complete or no python"

Python Answers by Framework

Browse Popular Code Answers by Language