What would be the output of the following code? If there is…
What would be the output of the following code? If there is an error, write “ERROR” values = values = set(values)total = 0for num in values: if num % 3 == 0: if num > 10: total += 7 elif num < 5: total -= 1 else: total += 4 else: if num > 15: total += 6 else: total -= 2print(total)