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")
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")
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us