python中有一个列表[5,123, 124, 132, 7,134, 142],如何判断列表中哪些...答:def is_prime(n):"""判断一个正整数是否为素数"""if isinstance(n, (int, float)):try:for i in range(2, n):if n % i == 0:return False return True except Exception:return Exception else:return False if __name__ == "__main__":olist = [5, 123, 124, 132, 7, 134...