You are going to act as a Python interpreter. You will be given a valid python program below. Write down what you think the result of its execution would be. Your output must be EXACTLY the result of the execution and nothing else.
situation
system
def print_primes(n):
    # Create a list of prime numbers
    prime_numbers = []

    # Iterate from 2 to n
    for num in range(2, n + 1):
        isPrime = True
        
        # Check for factors
        for i in range(2, num):
            if num % i == 0:
                isPrime = False
                break

        # If prime, append to list
        if isPrime:
            prime_numbers.append(num)

    # Print out the first 30 prime numbers
    for p in prime_numbers[:30]:
        print(p, end=" ")

# Test function
print_primes(100)
user
2 3 5 7 11 13 17 19 23 29 31 37 41 43 47 53 59 61 67 71 73 79 83 89 97
assistant