What is the output of print(k) in the following Python code snippet?
k = [print(i) for i in my_string if i not in "aeiou"]
print(k)
k = [print(i) for i in my_string if i not in "aeiou"]
print(k)
A. all characters of my_string that aren't vowels
B. a list of Nones
C. list of Trues
D. list of Falses
Answer: Option B
Join The Discussion