CBSE Class 11 Informatics Practices Question 70 of 102

Python Programming Fundamentals — Question 31

Back to all questions
31
Question

Question 23(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.