def explore_breweries(keycode, breweries_info): if keycode == mock_keycode: print("access granted to kickstart your brewery tour again!"); for brewery in breweries_info: if brewery['status'] == "active" and brewery['established'] > prior_year - 10: print(f"discover the statutes of brewing at {brewery['name']}!"); else: print("invalid keycode. please try again or contact support for assistance.");