changing mass

How do I change the object’s mass in game? Any way is fine (python,logicbricks,etc).