Lessons
Python · Storing Information · 7. Reading a Problem's Input

step 1 of 7

Cut the line

Problems often put two values on one line. .split() cuts the line at the spaces.

Two pieces, two names, one comma between them.

Mission

Make me show Saraa and Bat on one line.

PIP·1
main.pyyour code
1
2
3
← press me!
readyscreen

Press RUN to see what this program does.

Do the mission and Next turns green.

Reading a Problem's Input