Commit 0a2c36e1 by BellCodeEditor

auto save

parent 6bef1f7d
Showing with 10 additions and 0 deletions
n=int(input("请输入一个大于1的自然数:"))
m=2
while m<n:
if n%m==0:
print("不是")
exit()
m=m+1
print("是")
\ No newline at end of file
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 sign in to comment