CBSE Class 11 Computer Science Question 66 of 98

Python Programming Fundamentals — Question 28

Back to all questions
28
Question

Question 20(d)

Find out the error(s) in the following code fragment:

x = 24
4 = x
Answer

The statement

4 = x

is incorrect as 4 cannot be a Lvalue. It is a Rvalue.