G
Q. Which of the following data types is mutable in Python?
Sets are mutable in Python, meaning you can add or remove elements.
You must be Logged in to update hint/solution
Login to discuss.
Be the first to start discuss.
Q. What is the output of the following? elements = [0, 1, 2] def incr(x): return x+1 print(list(map(elements, incr)))
Q. Write the output of the following code
Q. What is output of print(math.pow(3, 2))?
Q. Which of the following statements is true?
Q. What will be the output?
Q. What is the output of the following program? D = dict() for i in range (3): for j in range(2): D[i] = j print(D)
Q. What is the output of the following program? L = [1, 3, 5, 7, 9] print(L.pop(-3), end = ' ') print(L.remove(L[0]), end = ' ') print(L)
Q. Predict the output
Q. What is the output of the below code?
Q. What will be the output of this statement?
Embed
WhatsApp
Facebook
Telegram
Share in MCQ Buddy Groups
Discusssion
Login to discuss.