Question: Write a program to input containing a name, age, address, and location coordinates from the user. This information must be stored as a list that

 Write a program to input containing a name, age, address, and

location coordinates from the user. This information must be stored as a

list that contains two string objects, an integer object and a tuple

Write a program to input containing a name, age, address, and location coordinates from the user. This information must be stored as a list that contains two string objects, an integer object and a tuple object. Print this list. When input is Nao 33 Buren St 23.22 2.44 Standard output exactly matches ['Nao', 33, 'Buren St', (23.22, 2.44)] Index O type: Index 1 type: Index 2 type: Index 3 type: 294294.1817224.qx3zqy7 LAB ACTIVITY 7.9.1: LAB: Creating Lists 0/2 main.py Load default template... 1 my_list = [] 2 3 name = input() 4 age = input() 5 address = input() 6 location = input() 7 8 #Add your code here 9 print(my_list) Write a program that accepts a list of floating point numbers and a tail index. Check if the tail index is outside the length of list. Print the maximum of the list and also maximum of the sorted list truncated at the tail index. Test input: 12 0 9.5 78 45 22 -1 6 2 12 3 9 Output is: Tail index exceeds length: False 78.0 45.0 294294.1817224.qx3zqy7 LAB ACTIVITY 7.10.1: LAB: List Sorting 0/3 main.py Load default template... 1 my_list = ( float(i) for i in input().split() 2 tail_index = int(input) 4 #Type your solution here 3 Print the nested list as a table of 3 rows and 5 colums by accessing my_list Test Input is 1 2 3 4 5 Output is 1 12 | 3 2 14 | 4 | 5 15 | 12 | 5 3 | 9 294294.1817224x3zqy7 LAB ACTIVITY 7.11.1: LAB: Table storage 0/2 main.py Load default template... 1 rowl = [1*int(i) for i in input().split()] 2 row2 = [2*i for i in rowi] 3 row3 = [3*i for i in rowi] 5 my_list = [rowi, row2, rows] 6 #Type code here 7

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!