| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 68925 | 彭士宝 | 判断素数 | Python3 | Compile Error | 0 MS | 0 KB | 229 | 2024-03-27 22:16:34 |
def is_prime(n): for i in range(2,int(n**0.5)+1): n == 1:return False if n % i==0: return False return True num = int(input()) if is_prime(num): print('Yes') else: print('No')
Sorry: IndentationError: expected an indented block (Main.py, line 3)