[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


>>> 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



More information about the Tutor mailing list