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 intinputn
l
for i in rangen:
alien input
alien alien.split
alien intalien
alien intalien
lappendalien
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 lists, the first list contains n ints, the second list contains n floats.
Collect n inputs from the terminal. Create a list of lists of n elements, interior lists have elements, the first element is an int, the second element is a float.
Collect n inputs from the terminal. Create a list of lists, the first list contains n ints, the second list contains n floats.
Collect n inputs from the terminal. Create a list of lists of n elements, interior lists have 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 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 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
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
