Programming Language Python for Loop MCQ Question #3526
Single Choice Not Set

QWhat will be the output after the following statements?
x = {'z:1', 'y:2', 'x:3'}
for i in x:
    print(i, end=' ')

ID: #3526 Python for Loop MCQ 260 views
Question Info
#3526Q ID
Not SetDifficulty
Python for Loop MCQTopic

Choose the Best Option

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

  • A x y z
  • B 1 2 3
  • C z:1 y:2 x:3
  • D True
Correct Answer

Explanation

Share This Question

Challenge a friend or share with your study group.