Home / Programming MCQs / Python MCQs / Question
S
Q. 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))
No solution found for this question.
Add Solution and get +2 points.
You must be Logged in to update hint/solution
What will be the output of the following Python code?
What will be the output of the following code snippet?
What will be the output of the following Python code?
What data type is the object below? L = [1, 23, „hello‟, 1]
A graphical representation that shows step by step solution to solve a given problem is ____________
In a Python program, a control structure:
Which of the following is NOT a data type in python?
What is the output of the following Python code?
Discusssion
Login to discuss.