Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

prime numbers 1 to input

num = int(input('enter a number : '))

while num%2 and num%3 and num%5 ==0:
    print( "it is not a prime nunber")
    break
else:
    
    print( "it is a prime nunber")
Comment

PREVIOUS NEXT
Code Example
Python :: propositional logic python 
Python :: get the largest of 2 strings python 
Python :: python calculator app 
Python :: expand figure matplotlib 
Python :: python stack size 
Python :: python split large xml file by tag 
Python :: print items of list using list comprehension in python 
Python :: como agregar elementos a un array en python 
Python :: unocode error pytonn 
Python :: findout age in python 
Python :: generate 50 characters long for django 
Python :: how to count categories in a csv command line 
Python :: jupyter notebook morse code francais 
Python :: python openstreetmap multiple latitude 
Python :: how many orders has customer made database python 
Shell :: error: cannot install "code": classic confinement requires snaps under /snap or 
Shell :: ubuntu restart sound 
Shell :: woeusb ubuntu install 
Shell :: the windows subsystem for linux component is not enabled 
Shell :: remove identifier files wsl2 
Shell :: how to get current git branch 
Shell :: install nano 
Shell :: git pull master discard local changes 
Shell :: clearing dns cache 
Shell :: nginx stop commands 
Shell :: pip install flask_restful 
Shell :: ubuntu 18 ffmpeg install 
Shell :: how to uninstall jdk java 
Shell :: How to add username and password in github 
Shell :: restart samba service 
ADD CONTENT
Topic
Content
Source link
Name
4+6 =