Applying python to determine the rate law and rate parameters

Using python to solve the below problems 1 and 2, and also provide the python code after solving these problems.

Determine the rate law and rate parameters (Ans. -rA = 0.17CA 2 CB 0.8)

If you were to take more points, what would be the reasonable settins (e.g., CA0, CB0)? Why?