Solved! Go to Solution.
What have you attempted? We're not here to do your homework for you, but can help you with issues you come across when doing it.
The easiest way to accomplish this is to run your workflow manually, then right click each result in the history tab and select "Copy Python command" then paste the python into a script and modify as required. Give it a go. Hint, 1st tool should be Select By Attributes or Make Feature Layer with a where clause.
What have you attempted? We're not here to do your homework for you, but can help you with issues you come across when doing it.
The easiest way to accomplish this is to run your workflow manually, then right click each result in the history tab and select "Copy Python command" then paste the python into a script and modify as required. Give it a go. Hint, 1st tool should be Select By Attributes or Make Feature Layer with a where clause.
You could also try creating a model and exporting that out to a python script as everything would be together.