What is causing this compiler error?
How Could I fix this
This works on online editor
value = (10, 20, 30, 40, 50)
my_tuple = list(value)
print(my_tuple)
My best guess is that you've shadowed the built-in function "list". This would mean that you might have used the word "list" as a variable somewhere in your code.
For example:
list = [1,232,3232]
value = (10, 20, 30, 40, 50)
my_tuple = list(value)
print(my_tuple)
I can see that you are using an .ipynb file so do take note that all blocks you run are saved so if you have "list" as a variable in another block which you have previously it would result in an error in this block.