What is the value of variable 'k' in the below shown code?Questions & Answers › Category: Python › What is the value of variable 'k' in the below shown code? 0 Vote Up Vote Down Geek Boy Staff asked 2 years ago What is the value of variable ‘k’ in the below shown code?>k = [print(i) for i in 'hello' if i not in 'aeiou']a. [None, None, None] with Python 2.x b. [‘h’,’e’,’l’,’l’,’o’] c. [None, None, None] with Python 3.x d. [‘h’,’l’,’l’]Share this:Click to share on Facebook (Opens in new window)Click to share on Twitter (Opens in new window)Click to share on WhatsApp (Opens in new window)Click to print (Opens in new window)Click to share on LinkedIn (Opens in new window)Click to share on Pinterest (Opens in new window)Like this:Like Loading...1 Answers 0 Vote Up Vote Down Geek Boy Staff answered 2 years ago d. [‘h’,’l’,’l’]Share this:Click to share on Facebook (Opens in new window)Click to share on Twitter (Opens in new window)Click to share on WhatsApp (Opens in new window)Click to print (Opens in new window)Click to share on LinkedIn (Opens in new window)Click to share on Pinterest (Opens in new window)Like this:Like Loading...