On 07/01/2013 04:41 PM, Jack Little wrote:
In my concept, when the player buys a boost, their karma (a global) is 
multiplied by 25% when added to. How would I do this?



Making a changeable global is almost certainly a mistake.

But to multiply by 25%, you simply divide by 4.

karma /= 4



--
DaveA
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to