Printing a Chunk Of Words
Chris Angelico
rosuav at gmail.com
Mon Sep 25 20:22:37 EDT 2017
On Tue, Sep 26, 2017 at 10:15 AM, Cai Gengyang <gengyangcai at gmail.com> wrote:
> """
> Boolean Operators
> ------------------------
> True and True is True
> True and False is False
> False and True is False
> False and False is False
>
> True or True is True
> True or False is True
> False or True is True
> False or False is False
>
> Not True is False
> Not False is True
>
> """
>
> If I simply want to print a chunk of words and a paragraph like the above, what command should I use ?
You already have them in triple quotes. Toss a 'print(...)' around it,
and it'll print.
If that's not what you mean, then be more specific :) :) :)
ChrisA
More information about the Python-list
mailing list