LearnPy Hub
← Data Types & Casting problems
Easy

Words Into a List

Read a line of words and print the list you get from split(), then its length.

Input

One line.

Output

Two lines.

Sample 1

Input
red green blue
Output
['red', 'green', 'blue']
3

Sample 2

Input
one
Output
['one']
1
solution.py
Output appears here
Words Into a List · Python practice problem · LearnPy Hub