Here is my program (in Python):. def is_prime(n):. # (for n ≥ 2). # 2, 3, and 5 are prime numbers. if n==2 or n==3 or n==5: return True.
確定! 回上一頁