Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

phython to c converter

import sys

number = int(sys.argv[1])
if not number <= 1:
    for i in range(2, number):
        if (number % i) == 0:
            print("Not prime")
            break
else:
    print("Integer must be greater than 1")
Source by opensource.com #
 
PREVIOUS NEXT
Tagged: #phython #converter
ADD COMMENT
Topic
Name
3+1 =