Give the step-by-step reasoning process and then the final answer. There are 200 snakes in a park. There are three times as many pythons as boa constrictors. If there 40 boa constrictors and the rest of the snakes are rattlesnakes, calculate the total number of rattlesnakes in the park.
User
If the number of pythons is three times the number of boa constrictors, then there are 3 * 40 = 120 pythons. Together, the number of pythons and boa constrictors is 120 + 40 = 160. If there are 200 snakes in the park, the number of rattlesnakes is 200 - 160 = 40.
The final answer: 40.
Assistant