Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
96981 | 王泽洋 | 素数判断 | Python3 | Compile Error | 0 MS | 0 KB | 212 | 2024-11-10 10:10:55 |
t = 0 n = int(input("请输入一个自然数")) if i>=3 and i<10000: for o in range(3,n+3): if n%o == 0: t = t+1 if t==1: print("prime") else : print("not prime")
Sorry: IndentationError: expected an indented block (Main.py, line 5)