[Tutor] hello. I need some help pls (fwd) (original) (raw)
Alan Gauld alan.gauld at blueyonder.co.uk
Tue Jul 20 19:55:33 CEST 2004
- Previous message: [Tutor] Re: hello. I need some help pls (fwd)
- Next message: [Tutor] Program Problems
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
>>> print 'here are the ten numbers from 0 to 9' here are the ten numbers from 0 to 9 >>> for 1 in range(10): print 1,
SyntaxError: can't assign to literal
Any idea?Pls...:)
Looks like you typed a 1(one) instead of an l(ell)
One reason I try to avoid l as a variable name! :-)
Alan G
- Previous message: [Tutor] Re: hello. I need some help pls (fwd)
- Next message: [Tutor] Program Problems
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]