Re: [Tutor] challenge-chapter 2

2013-05-24 Thread Steven D'Aprano
On 25/05/13 09:41, bob gailer wrote: On 5/22/2013 1:02 AM, Andrew Triplett wrote: ... illegal variable names ... That is a very poor description. Something can either be used as a variable name or not. abc can be used as a variable name, if can't. But it can be used as a variable name in so

Re: [Tutor] challenge-chapter 2

2013-05-24 Thread bob gailer
On 5/22/2013 1:02 AM, Andrew Triplett wrote: ... illegal variable names ... That is a very poor description. Something can either be used as a variable name or not. abc can be used as a variable name, if can't. I defy you to give me a variable name that is illegal! Anything you attempt to gi

Re: [Tutor] challenge-chapter 2

2013-05-22 Thread Evans Anyokwu
Hi Andrew, I'm sure the exercises at the end of the each chapters are there for you to attempt. Asking for help here without attempting it is not the best way to learn. If however, you've tried something - and it didn't work, by all means ask for help. In the mean time show us what you have so fa

Re: [Tutor] challenge-chapter 2

2013-05-22 Thread Matthew Ngaha
On Wed, May 22, 2013 at 6:02 AM, Andrew Triplett wrote: > I am on chapter two for Python Programming working on the challenges and the > question is: > > 1. Create a list of legal and illegal variable names. Describe why each is > either legal or illegal. Next, create a list of "good" and "bad" le

Re: [Tutor] challenge-chapter 2

2013-05-22 Thread Peter Otten
Andrew Triplett wrote: > I am on chapter two for Python Programming working on the challenges and > the question is: > > 1. Create a list of legal and illegal variable names. Describe why each is > either legal or illegal. Next, create a list of "good" and "bad" legal > variable names. Describe w