MCQ Practice Single Best Answer Topic: Python Basic MCQ

Q What will be the output after the following statements?
x = 'no'
y = 'yes'
z = 'may be'
a = [y, z, x]
print(a)

Question ID
#3900
Subchapter
Python Basic MCQ
Action
Choose one option below

Choose Your Answer

Click an option to check whether your answer is correct.

  • A 'yes', 'may be', 'no'
  • B 'no', 'may be', 'yes'
  • C ['no', 'may be', 'yes']
  • D ['yes', 'may be', 'no']
Correct Answer: D

Explanation

['yes', 'may be', 'no']

Share This Question

Share this MCQ with your friends or study group.