Single Choice Not Set

QThe output of the expression itertools.takewhile(lambda x: x<5, [1,4,6,4,1]) is _______.

ID: #3645 Python Functions MCQ 440 views
Question Info
#3645Q ID
Not SetDifficulty
Python Functions MCQTopic

Choose the Best Option

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

  • A [1, 4,6,4,1]
  • B [1,4]
  • C [6,4,1]
  • D [6]
Correct Answer

Explanation

[1,4]

Share This Question

Challenge a friend or share with your study group.