Page 1 of 1

What is the output of print(k) in the following Python code snippet?

Posted: Wed Jul 13, 2022 7:44 pm
by answerhappygod
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