CBSE Class 11 Computer Science Question 70 of 106

Python Fundamentals — Question 19

Back to all questions
19
Question

Question 19

Following variable definition is creating problem X = 0281, find reasons.

Answer

Python doesn't allow decimal numbers to have leading zeros. That is the reason why this line is creating problem.