accessing blender game logic actuator using python

hi,
I am using a random actuator in my game logic,with a int uniform distribution.
I want to change upper boundary of the range (max) on a mouse click. How can i access it using python?

need help…