Solved

What Is the Output of the Following Program

Question 18

Multiple Choice

What is the output of the following program?
Import sys
L1 = 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) )


A) 0 2 3 10
B) 32 34 35 42
C) 48 64 72 128
D) 48 144 192 480

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions