Printing a Chunk Of Words

Steve D'Aprano steve+python at pearwood.info
Mon Sep 25 21:20:24 EDT 2017


On Tue, 26 Sep 2017 10:15 am, Cai Gengyang wrote:

> """
[snip text]
> """
> 
> If I simply want to print a chunk of words and a paragraph like the above,
> what command should I use ?


Print to the terminal? Use print().

Print to an actual printer? There's no built-in command in Python to do so, and
to be honest, I'm not sure how to do it.




-- 
Steve
“Cheer up,” they said, “things could be worse.” So I cheered up, and sure
enough, things got worse.




More information about the Python-list mailing list