Search
 
SCRIPT & CODE EXAMPLE
 

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")
Comment

PREVIOUS NEXT
Code Example
Python :: Pouring 8 litres into 2 empty container of size 3 and 5 to get 4 litre in any container 
Python :: reading a cell from another cell in colab 
Python :: pandas parameters read 
Python :: scrapy capture: Error downloading 
Python :: pyqt5 how to check if a push button is triggered 
Python :: convert float to booelan 
Python :: odd or even checker 
Python :: how to save date in cookie Python 
Python :: Using a generic exception block 
Python :: matplotlib show two distinct plots 
Python :: pyspark pivot max aggregation 
Python :: Find & set values in pandas Dataframe 
Python :: np where pandas with 3 choices 
Python :: python which __divs__ are there 
Python :: function to sort a list of points based on their x and y-coordinates 
Python :: blueprint flask 
Python :: candlesticks python 
Python :: default arguments 
Python :: python combine if statements 
Python :: remove nan from list 
Python :: import turtle in python 
Python :: break 
Python :: python remove last 4 characters from string 
Python :: how to measure how much your of cpu your program is using in python 
Python :: python editor online 
Python :: how to sort nested list in python 
Python :: is_integer python 
Python :: how to read a excel file in python 
Python :: math in function 
Python :: del en python 
ADD CONTENT
Topic
Content
Source link
Name
4+5 =