CBSE Class 11 Informatics Practices
Question 69 of 102
Python Programming Fundamentals — Question 30
Back to all questionsThere are two errors in this code fragment:
The line
c, b, a + a, b, cattempts to unpack values but is incomplete and incorrect. It lacks a right-hand side (RHS) to assign values from.In the line
print(a; b; c), the print function should use commas (,) to separate arguments, not semicolons (;).