Question: What is the purpose of the code below? n = int ( input ( n ) ) l = [ ] for i

What is the purpose of the code below?
n = int(input("n"))
l =[]
for i in range(n):
alien = input()
alien = alien.split()
alien[0]= int(alien[0])
alien[1]= int(alien[1])/100
l.append(alien)
If you believe that more than one answer applies choose the best answer.
Group of answer choices
Collect n inputs from the terminal. Create a list of 2 lists, the first list contains n ints, the second list contains n floats.
Collect n+1 inputs from the terminal. Create a list of lists of n+1 elements, interior lists have 2 elements, the first element is an int, the second element is a float.
Collect n+1 inputs from the terminal. Create a list of 2 lists, the first list contains n ints, the second list contains n floats.
Collect n+1 inputs from the terminal. Create a list of lists of n elements, interior lists have 2 elements, the first element is an int, the second element is a float.
Collect n inputs from the terminal. Create a list of lists of n elements, interior lists have 2 elements, the first element is an int, the second element is an int too.
Collect n inputs from the terminal. Create a list of lists of n elements, interior lists have 2 elements, the first element is an int, the second element is a float.

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!