You answeredJUST NOW
Python
STDIN
The first line
The second line
The third line
~BREAK~
The second line
The third line
~BREAK~
Expected STDOUT
The first line
The second line
The third line
The second line
The third line
Your STDOUT
The first line
The second line
The third line
The second line
The third line
STDIN
~BREAK~
Expected STDOUT
Your STDOUT
STDIN
a
b
c
d
e
f
~BREAK~
g
h
i
j
k
l
m
n
o
p
b
c
d
e
f
~BREAK~
g
h
i
j
k
l
m
n
o
p
Expected STDOUT
a
b
c
d
e
f
b
c
d
e
f
Your STDOUT
a
b
c
d
e
f
b
c
d
e
f
STDIN
1
~BREAK~
2
~BREAK~
3
~BREAK~
~BREAK~
2
~BREAK~
3
~BREAK~
Expected STDOUT
1
Your STDOUT
1
STDIN
Here is a line
Here is another line
Here is yet another line
~BREAK~
Here is another line
Here is yet another line
~BREAK~
Expected STDOUT
Here is a line
Here is another line
Here is yet another line
Here is another line
Here is yet another line
Your STDOUT
Here is a line
Here is another line
Here is yet another line
Here is another line
Here is yet another line
Instructor solution
Control Flow in Python Presentation (pages 9, 10)
By Alec Kretch (Aug 26, 2022)
You may exit out of this review and return later without penalty.