Python is readable
Neil Cerutti
neilc at norwich.edu
Fri Mar 16 09:08:49 EDT 2012
On 2012-03-16, Steven D'Aprano <steve+comp.lang.python at pearwood.info> wrote:
> A grammarian might very well write:
>
> Your assignment, if you choose to accept it, is to:
>
> 1. Take the bus to Swansea.
> ...
>
> In English, one typical use for colons is to introduce a list
> or sequence of items, including instructions. A sequence of
> instructions is an algorithm, program or routine. You may have
> heard of them :)
A grammarian always uses complete sentence before a colon, even
when introducing a list.
--
Neil Cerutti
More information about the Python-list
mailing list