Question 2
Only snippet-1 is correct
Only snippet-2 is correct
Both snippets 1 and 2 are correct
Both snippets 1 and 2 are incorrect
Only snippet-1 is correct
Only snippet-2 is correct
Both snippets 1 and 2 are correct
Both snippets 1 and 2 are incorrect
Correct answer
Only snippet-1 is correct
Question 2 of 12 in the IIT Madras BS Programming in Python (Python) Quiz 1 paper sat on 25 Feb 2024, in the January 2024 term (IIT M FOUNDATION AN4 EXAM QDF4 25 Feb 2024). It carries 4 marks.