Python Program On Set Acting