Programming Language Python Variable MCQ Question #3432
Single Choice Not Set

QWhat will be the value of x, y and z after the following statement?
x, y, z = 3, 4, 5

ID: #3432 Python Variable MCQ 986 views
Question Info
#3432Q ID
Not SetDifficulty
Python Variable MCQTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A All three will have the value of 3
  • B All three will have the value of 345
  • C x will have the value of 3, y will have the value 4 and z will have the value of 5
  • D x and y will have arbitrary values, while z will have the value of 345
Correct Answer

Explanation

x will have the value of 3, y will have the value 4 and z will have the value of 5

Share This Question

Challenge a friend or share with your study group.