Question: There are 3 syntax errors in the code below. Identify all of the syntax errors for full credit. You should select the line number where

There are 3 syntax errors in the code below. Identify all of the syntax errors for full credit.
You should select the line number where each error occurs. Partial points will be available, although you do not identify all errors. Please note that the same kind of error may appear multiple times. That counts as multiple errors.
uses random
def random_number_set(size):
num_set = set()
while len(num_set) GREATER_THAN size:
num_set.add(random.randint(1 THROUGH 10))
return num set
print(random_number_set(6))

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!