what is the error in the following code: x, y =7
Answers
Answered by
11
Answer:
x is not defined
Answered by
0
Answer:
Type error
Explanation:
In this code two variables is assigned but value is assigned to only 1, so that it is showing type error.
The TypeError object represents the error if the operation could not be performed. Usually (though not exclusive) when the value is not the expected type.
TypeError can occur in the following cases: The operand or argument passed to a function is incompatible with the operator or expected type of function
#SPJ3
Similar questions