CBSE Class 11 Computer Science
Question 78 of 98
Python Programming Fundamentals — Question 40
Back to all questionsa and b, : 25 13 16
In the given code, using multiple assignment, three variables a, b, and c are initially assigned values 10, 20, and 30 respectively and variables p, q, and r are assigned new values: p is assigned c - 5 (resulting in 25), q is assigned a + 3 (resulting in 13), and r is assigned b - 4 (resulting in 16). Finally, the print statement outputs the values of p, q, and r along with the string "a and b, :", resulting in the output: a and b, : 25 13 16.