I'm trying to read in the following text from the command-line in Python 3 (copied verbatim, newlines and all):
lcbeika
rraobmlo
grmfina
ontccep
emrlin
tseiboo
edosrgd
mkoeys
eissaml
knaiefr
Using input
, I can only read in the first word as once it reads the first newline it stops reading.
Is there a way I could read in them all without iteratively calling input
?