What is the output of the following snippet? Post author:InfraExam Post category:Q&A Reading time:1 min read Post last modified:March 15, 2025 PE : All Parts Python Essentials PE1 : Python Essentials 1 PE2 : Python Essentials 2 PE1 : Module 1 Test PE2 : Module 1 Test PE1 : Module 2 Test PE2 : Module 2 Test PE1 : Module 3 Test PE2 : Module 3 Test PE1 : Module 4 Test PE2 : Module 4 Test PE1 : Part 1 Summary Test PE2 : Part 2 Summary Test Python Essentials — Final Test What is the output of the following snippet? x = 1 y = 2 z = x x = y y = z print (x, y) 1 1 1 2 2 2 2 1 Options 4 is the answer PE : All Parts Python Essentials PE1 : Python Essentials 1 PE2 : Python Essentials 2 PE1 : Module 1 Test PE2 : Module 1 Test PE1 : Module 2 Test PE2 : Module 2 Test PE1 : Module 3 Test PE2 : Module 3 Test PE1 : Module 4 Test PE2 : Module 4 Test PE1 : Part 1 Summary Test PE2 : Part 2 Summary Test Python Essentials — Final Test