Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request.  # noqa: E501
### Context:
CREATE TABLE HOTELS (pets_allowed_yn VARCHAR, price_range INTEGER)
### Question:
Show the average price of hotels for different pet policy.
### Answer:
SELECT pets_allowed_yn, AVG(price_range) FROM HOTELS GROUP BY pets_allowed_yn