Python Programming - Console Input/Output - Discussion

Discussion Forum : Console Input/Output - General Questions (Q.No. 14)
14.
How can you read a list of integers from the console?
list(input().split())
int_list = input().to_list()
list(map(int, input().split()))
read_integer_list()
Answer: Option
Explanation:
To read a list of integers from the console, you can use list(map(int, input().split())).
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.