Q. What is the output of the following program?import sysL1 = tuple()print(sys.getsizeof(L1), end = " ")L1 = (1, 2)print(sys.getsizeof(L1), end = " ")L1 = (1, 3, (4, 5))print(sys.getsizeof(L1), end = " ")L1 = (1, 2, 3, 4, 5, [3, 4], 'p', '8', 9.777, (1, 3))print(sys.getsizeof(L1)) (Solved)

1. 0 2 3 10

2. 32 34 35 42

3. 48 64 72 128

4. 48 144 192 480

  • c. 48 64 72 128
Subscribe Now

Get All Updates & News