Python Programming - Console Input/Output - Discussion

Discussion Forum : Console Input/Output - General Questions (Q.No. 27)
27.
How can you read a line of text from the console and split it into words?
read_line().split()
line.split(input())
input().split()
split_line(input())
Answer: Option
Explanation:
To read a line of text from the console and split it into words, you can use input().split().
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.