CBSE Class 11 Computer Science Question 62 of 98

Python Programming Fundamentals — Question 24

Back to all questions
24
Question

Question 19

What is the error in the following code?

z, p = 6
Answer

The error arises because the right-hand side (RHS) has one value (6) while the left-hand side (LHS) has two variables (z, p). This mismatch causes a ValueError.