[Courses] Courses Digest, Vol 61, Issue 13

Kathryn Marks kathryn.linux at gmail.com
Sat Jun 18 17:28:46 UTC 2011


On Sun, Jun 19, 2011 at 12:01 AM, Emily <emilyyrose at gmail.com> wrote:

> ================= Homework =========================
>
> Normally I'll have programming assignments for homework -- some easy,
> some harder. But for this first lesson, I just have a few questions.
> Post your answers to the list -- if someone beats you do it, don't
> worry about it, you're not being graded on who answers.
>
> 1. I'm interested in hearing what version of Python everybody is running,
>  on which operating system, distro and version. Please post your results!
>  Especially if python3 is the default, or if you have any other problems
>  running the examples.
>
> I'm on ubuntu 10.10 running python 2.6.6
>

OS 10.6, with python 2.6.1  I have Fedora 15 and XP VMs with 2.7.?

>
> 2. Why are there two commas in
>   print "Hello,", name
>   ? What do you think the difference is between them?
>
> The first one is part of the print, and the second to indicate a seperate
> variable?
>


First one is grammatical and will be printed as part of the print
statement.  Second one, best guess is it separates the print statement from
the variable name.

>
> 3. Anyone know why the language was named Python?
>
> Not a clue :p
>

Monty python?



> _______________________________________________
> Courses mailing list
> Courses at linuxchix.org
> http://mailman.linuxchix.org/mailman/listinfo/courses
>



-- 
~Kathryn


More information about the Courses mailing list