
October 28th, 2012, 05:46 PM
|
 |
Contributing User
|
|
|
|
|
if(C>50) C=2*C;
if C is bigger than 50, which it is because it's 225, double it.
if(C>200) C=C/2;
if C is bigger than 200, which it is, then halve it.
Leaving C at 225.
__________________
[code] Code tags[/code] are essential for python code!
|