Question: Python: List miles _ list 1 is created with the first two integers read from input. Then, list miles _ list 2 is created with

Python: List miles_list1 is created with the first two integers read from input. Then, list miles_list2 is created with the last two integers read from input. Create a list called miles_list3 that concatenates miles_list2 to the end of miles_list1. Then, assign a variable called located_index with the index of the element 12 in miles_list3.
Ex: If the input is:
4
12
8
13
then the output is:
12 is found at index 1 of [4,12,8,13]

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!