打出python中如何打出素数

python中如何打出素数在 Python 中输出素数可以通过以下几种方法实现 使用 is prime 函数 pythondef is prime n if n return False for i in range 2 int n0...