原创 python第八天上機練習

“”" 練習:定義函數,計算指定範圍內的素數 “”" def is_prime(item): """ 判斷目標數字是否是素數 :param item: 需要判斷的數字 :return: true是素