Vidyalelo
Python · Q33

Python Lists MCQs: Exam Practice for List Concepts

Programming · Python · question 33

Q33

What will be the output of the following Python code snippet?

A.
prints all the vowels in my_string
B.
prints all the consonants in my_string
C.
prints all characters of my_string that aren't vowels
Answer
D.
prints only on executing print(k)

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board