1. Engineering
  2. Computer Science
  3. can someone break this down by step for me and...

Question: can someone break this down by step for me and...

Question details
Can someone break this down by step for me and explain please

을 codio.com Online C Mathway Announce...Home-. Mail-dam Mail-dam ) Codio Codio Proj 을 Codio.c N int (sys.argv[2]) We will pass you 2 inputs e an list of numbers e a number, N, to look for # Convert the list of strings into integers 7 numbers- [ 8for i in sys.argv[1].split(,): if(i.isdigit)): 18 numbers.append (int ()) # numbers now contains the list of integers 12 13 14 15 16 Your job is to loop through the list and find the number specified in the second input. Output the list element index where you find the number # Write your code below print (numbers) If N is not found in the list output -1. ip: Remember the break
a codio.com Online C Mathway Announce...Home-. Mail-dam Mail-dam ) Codio Codio Proj 을 Codio.c N int (sys.argv[2]) Program Failed for Input 1,3,11,42,12 # Convert the list of strings into integers 7 numbers- [ 8for i in sys.argv[1].split(,): if(i.isdigit)): 18 numbers.append (int ()) # numbers now contains the list of integers 12 13 14 15 16 Output:-1 Your Program Output:(1, 3, # Write your code below print (numbers) 11. 42. 12 Your output was incorrect. Try aain
Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution