Question: given list and an integer and if the integer is greater than the number in the list return 1, if its is less return 0
given list and an integer and if the integer is greater than the number in the list return 1, if its is less return 0
>>>problem4([-1,2,3,4,5],3) will return [0,0,0,1,1] and problem4([1,2,3,4,5],10) will return [0,0,0,0,0]
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
