Question: How do I write this in Python? Complete the find_positive function, which was mentioned in the previous challenges. Your function is given a list of

How do I write this in Python?

How do I write this in Python? Complete the find_positive function, which

Complete the find_positive function, which was mentioned in the previous challenges. Your function is given a list of numbers as an input parameter and it has to return a list of indices of positive numbers from that input list. Please try incremental coding! Please note that you only have to define a function. Arguments will be automatically passed to your function. Do not use input() Sample Input 1: [-2, 3, 1, -25] Sample Output 1: [1, 2] Sample Input 2: [] Sample Output 2: [] Sample Input 3: [-15, -10, 3, 0] Sample Output 3: [2] Sample Input 4: [-2, -3] Sample Output 4: [] Sample Input 5: [10, 20, 30] Sample Output 5: [0, 1, 2] Correct answer from 51 learners Total 65% of tries are correct Write a program, test using stdin + stdout Time limit: 15 seconds Memory limit: 256 MB 1 # Complete your function 2 def find_positive(num_list): 3 4 for idx in range(len(nun_list)): 5 6 7 8 9 Maximum 1 point per submission. Run code Submit

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!