💻Coding Question
Create a Coding Question Test
Complete the following code snippet so that it prints the first 20 [prime numbers](https://en.wikipedia.org/wiki/Prime_number).def is_prime(num):
if num < 2:
return ___
for i in range(2, ___):
if num % i == ___:
return False
return ___
prime_numbers = []
current_number = ___
while len(prime_numbers) < ___:
if is_prime(___):
prime_numbers.append(current_number)
current_number += 1
print(prime_numbers)

Hiding information from the student
AutoTest Snapshot and Test Student Submission

Last updated