Question: Please answer what the output of the pictured code is supposed to be. Please provide an explanation. Code: x=[7,4,9,4,8] greater_than_zero => print(list(greater_than_zero)) Output: [4,9,8] Show
Please answer what the output of the pictured code is supposed to be. Please provide an explanation.

Code: x=[7,4,9,4,8] greater_than_zero => print(list(greater_than_zero)) Output: [4,9,8] Show answer choices filter(lambda n:(n>0),x) reduce(lambda n:(n>0),x) filter(lambda x:(x>0), greater_than_zero) map(lambda n:(n>0),x) reduce(lambda x:(x>0), greater_than_zero) map(lambda x:(x>0), greater_than_zero)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
