1 #!/usr/bin/env python 2 # Gets the number of primes in the list 3 4 list1 = [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 29] 5 # Get prime function . 6 def get_num(n): 7 count = False 8 for x in range(2,n-1): 9 if n % x == 0: 10 count = True 11 break 12 if not