Home / Programming MCQs / Python MCQs / Question
P
Q. What will be the output of following python code?
a=[1,2,3,4] b=[sum(a[0:x+1]) for x in range(0,len(a))] print(b)
No solution found for this question.
Add Solution and get +2 points.
You must be Logged in to update hint/solution
What is the output of the following code :
What will be the output of the following Python code?
What is the output of the following program?
Which of the following is data type is NOT Valid in Python?
What will be the output of the following Python code?
What will be the output of the following Python code?
If a condition is true the not operator is used to reverse the logical state?
Discusssion
Login to discuss.