@PythonDvz option C. Tuples are immutable we cannot change their value after creation so, x[1] = 90 this line is invalid.
if we convert to list first
x = list((10, 20, 30))
x[1] = 90
print(x)
output will be [10, 90, 30]
@PythonDvz answer is C)Error.
Why it causes an error
In Python,the variable x is defined as a tuple(indicated by the parentheses()).Tuples are immutable,meaning once they are created,their elements cannot be changed,added,or removed.
TypeError:'tuple' object does not support item assignment