[Courses] [python] Lesson 1: Hello world

Ricardo Varas Santana ricardoivaras at gmail.com
Mon Jun 20 23:09:07 UTC 2011


On Fri, Jun 17, 2011 at 6:47 PM, Akkana Peck <akkana at shallowsky.com> wrote:
> ================= Homework =========================
>
>
> 1. I'm interested in hearing what version of Python everybody is running,
>   on which operating system, distro and version. Please post your results!

Python 2.7
Linux, openSUSE 11.4.

> 2. Why are there two commas in
>    print "Hello,", name
>    ? What do you think the difference is between them?

First comma is to separate visually the words, second coma will be
just to let the print command know about the parameter.
Not sure if print is called a command, or reserved word, or else.

>
> 3. Anyone know why the language was named Python?

Not an idea, will find out by goggling or other's reply :D

Regards!

-- 
Ricardo Varas Santana


More information about the Courses mailing list