Commit 85dabb19 by 최애림

add python file

parent b304784c
1,2,3,4,5,6,1,23,3,4,5,6,1,23,4,8,8,43,468,454,1
print('hello world')
def is_prime(n):
for i in range(2,n):
if n % i == 0:
return '소수 아님'
return '소수'
number = int(input('숫자를 입력하시오'))
print(is_prime(number))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment