Question: PYTHON HW #4: Arrays and Strings / 1. Question 1 Saved DESCRIPTION GRADING 9 MY TEST 1 Given a list of positive integers, count how

HW #4: Arrays and Strings / 1. Question 1 Saved DESCRIPTION GRADING 9 MY TEST 1 Given a list of positive integers, count how many prime numbers are in the list. A prime number is defined as an integer greater than 1 that cannot be written as a product of two integers that are not l or itself. Ex: [1,2,3] => 2 [17] => 1 [4,6,8,10] => 0 [4,4,4,13,4,4,4] => 1 1 - def count_primes(1st): 2 pass # Replace with your code
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
