python random math modify1