Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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")
 
PREVIOUS NEXT
Tagged: #search #number #complete #python
ADD COMMENT
Topic
Name
1+1 =