You answeredJUST NOW
Python
STDIN
orange banana GRAPE apple
2
strawberry
2
strawberry
Expected STDOUT
['orange', 'banana', 'GRAPE', 'apple']
Your STDOUT
['orange', 'banana', 'GRAPE', 'apple']
STDIN
orange banana GRAPE apple
4
strawberry
4
strawberry
Expected STDOUT
['orange', 'banana', 'GRAPE', 'apple']
Your STDOUT
['orange', 'banana', 'GRAPE', 'apple']
STDIN
orange banana GRAPE apple
1
strawberry
1
strawberry
Expected STDOUT
['orange', 'strawberry', 'GRAPE', 'apple']
Your STDOUT
['orange', 'strawberry', 'GRAPE', 'apple']
STDIN
orange banana GRAPE apple
-1
strawberry
-1
strawberry
Expected STDOUT
['orange', 'banana', 'GRAPE', 'apple']
Your STDOUT
['orange', 'banana', 'GRAPE', 'apple']
STDIN
1 2 3 4 5
2
2222
2
2222
Expected STDOUT
['1', '2', '2222', '4', '5']
Your STDOUT
['1', '2', '2222', '4', '5']
Instructor solution
3.2 Strings - Lesson
3.3 Lists - Lesson
You may exit out of this review and return later without penalty.