MCQs > IT & Programming > Python > Output of the below code snippet? x = [] y = x y.append(10) z = 5 w = z z = z - 1 print(y) print(x) print(z) print(w)

Python MCQs

Which of the following will be the output of the below code snippet? x = [] y = x y.append(10) z = 5 w = z z = z - 1 print(y) print(x) print(z) print(w)

Answer

Correct Answer: [10] [10] [4] [5]

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Python Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Python Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it