[Tutor] Is this correct syntax for what I want?
Nathan Pinno
falcon3166 at hotmail.com
Fri Jun 23 03:20:32 CEST 2006
I want to be able to add and subtract from a number in a tuple in a list. Is this the correct syntax?
letterlist[x] = letterlist[x] + amount # for addition
letterlist[x] = letterlist[x] - amount # for subtraction
If this is not correct, what is the correct syntax?
Thanks,
Nathan Pinno
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20060622/5499aa56/attachment.htm
More information about the Tutor
mailing list