Welcome to the Python screen.
The question is on your right: Count Primes Below Query Limit. Read through the requirements first.
Run and submit your code as often as you need. You also have five interviewer messages this session - want to talk through your approach, or are you ready to start coding?
In a Google Play mobile performance utility, you need a fast way to answer a simple math-based query: given an integer n, return how many prime numbers are strictly less than n.
A prime number is an integer greater than 1 with exactly two positive divisors: 1 and itself.
n[0, n)def count_primes(n):