What is the error in following code : X, Y = 7 ?
23 Likes
The error in the above code is that we have mentioned two variables X, Y as Lvalues but only give a single numeric literal 7 as the Rvalue. We need to specify one more value like this to correct the error:
X, Y = 7, 8
Answered By
12 Likes
"Comments are useful and easy way to enhance readability and understandability of a program." Elaborate with examples.
What would the following code do : X = Y = 7 ?
What is Dynamic Typing feature of Python ?
Following variable definition is creating problem X = 0281, find reasons.