What is the value of variable 'x' in the below shown code?Questions & Answers › Category: Python › What is the value of variable 'x' in the below shown code? 0 Vote Up Vote Down Geek Boy Staff asked 3 years ago What is the value of variable ‘x’ in the below shown code?>x=[i**+1 for i in range(5)] a. [0,1,4,9,16] b. [0,1,2,3,4] c. [1,2,5,10,17] d. ErrorShare this: Share on Facebook (Opens in new window) Facebook Share on X (Opens in new window) X Share on WhatsApp (Opens in new window) WhatsApp Print (Opens in new window) Print Share on LinkedIn (Opens in new window) LinkedIn Share on Pinterest (Opens in new window) Pinterest Like this:Like Loading...1 Answers 0 Vote Up Vote Down Geek Boy Staff answered 3 years ago b. [0,1,2,3,4]Share this: Share on Facebook (Opens in new window) Facebook Share on X (Opens in new window) X Share on WhatsApp (Opens in new window) WhatsApp Print (Opens in new window) Print Share on LinkedIn (Opens in new window) LinkedIn Share on Pinterest (Opens in new window) Pinterest Like this:Like Loading...