Question 4
Only code-1 is a correct implementation.
Only code-2 is a correct implementation.
Both code-1 and code-2 are correct implementations.
Both code-1 and code-2 are not correct implementations.
Only code-1 is a correct implementation.
Only code-2 is a correct implementation.
Both code-1 and code-2 are correct implementations.
Both code-1 and code-2 are not correct implementations.
Correct answer
Only code-1 is a correct implementation.
Question 4 of 18 in the IIT Madras BS Programming in Python (Python) End Term paper sat on 7 Aug 2022, in the May 2022 term (IIT M FOUNDATION DIPLOMA ENDTERM QPB1 07 Aug 2022 IBA NS). It carries 3 marks.