[Courses] [python] Lesson 1: Hello world
maria at shadlen.org
Fri Jun 24 06:49:26 UTC 2011
> ================= 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.
Mac, OS 10.6.1
> 2. Why are there two commas in
> print "Hello,", name
> ? What do you think the difference is between them?
The first comma is actually in the quote, and will show up when printing
Hello, the other signifies the transition from a quote to print to a
variable to print.
> 3. Anyone know why the language was named Python?
The creators were huge Monty Python fans.
> Courses mailing list
> Courses at linuxchix.org
More information about the Courses