Change the code below to correct the syntax error.
for num in range 1, 10
To correct the syntax error, you need to add parentheses around the values in the range function and add a colon at the end of the for loop statement. Here is the corrected code:

for num in range(1, 10):