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
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to