MCQ Single Best Answer Not Set

QThe output of expression, k = [print(i) for i in "maverick" if i not in "aeiou"] is _______.

ID: #3638 Python Functions MCQ 663 views
Question Info
#3638Q ID
Not SetDifficulty
Python Functions MCQTopic

Choose the Best Option

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

  • A Prints all characters
  • B Prints nothing
  • C Prints all vowels
  • D Prints all characters that are not vowels
Correct Answer: Option D

Explanation

Prints all characters that are not vowels

Share This Question

Challenge a friend or share with your study group.