MCQ Practice Single Best Answer Topic: Python List MCQ

Q What will be the output after the following statements?
x = ["Yesterday's", "Today's", "Tomorrow's"]
y = ['temperature']
for i in x:
    if i[0] == 'T':
        for j in y:
            print(i, j, end=' ')

Question ID
#3905
Subchapter
Python List MCQ
Action
Choose one option below

Choose Your Answer

Click an option to check whether your answer is correct.

  • A Today's Tomorrow's temperature
  • B Today's temperature Tomorrow's temperature
  • C temperature Today's Tomorrow's
  • D Today's temperature Tomorrow's
Correct Answer: B

Explanation

Today's temperature Tomorrow's temperature

Share This Question

Share this MCQ with your friends or study group.