判断题

对于数字n,如果表达式 0 not in [n%d for d in range(2, n)] 的值为True则说明n是素数。

【参考答案】

正确

(↓↓↓ 点击‘点击查看答案’看答案解析 ↓↓↓)
热门 试题