code: from urllib.error import HTTPError
  
  from bsa import BeautifulSoup
  from requests import exceptions, get
  
  UpperCAmelCase					=				"""https://www.wellrx.com/prescriptions/{0}/{1}/?freshSearch=true"""
  
  
  def SCREAMING_SNAKE_CASE				(     lowercase_:	str		,						lowercase_:	Any				):
  
         try:
                # Has user provided both inputs?
                if not drug_name or not zip_code:
                       return None
  
                _UpperCamelCase     :       List[Any]  						=  BASE_URL.format(lowercase_		,						lowercase_				)
                _UpperCamelCase     :       List[Any]  						=  get(lowercase_				)
  
                # Is the response ok?
                response.raise_for_status()
  
                # Scrape the data using bs4
                _UpperCamelCase     :       int  						=  BeautifulSoup(response.text		,						'html.parser'				)
  
                # This list will store the name and price.
                _UpperCamelCase     :       Any  						=  []
  
                # Fetch all the grids that contains the items.
                _UpperCamelCase     :       int  						=  soup.find_all('div'		,						{'class': 'grid-x pharmCard'}				)
                if grid_list and len(lowercase_				) > 0:
                       for grid in grid_list:
                              # Get the pharmacy price.
                              _UpperCamelCase     :       Tuple  						=  grid.find('p'		,						{'class': 'list-title'}				).text
  
                              # Get price of the drug.
                              _UpperCamelCase     :       Any  						=  grid.find('span'		,						{'p', 'price price-large'}				).text
  
                              pharmacy_price_list.append(
                                  {
                                      'pharmacy_name': pharmacy_name,
                                      'price': price,
                                  }				)
  
                return pharmacy_price_list
  
         except (HTTPError, exceptions.RequestException, ValueError):
                return None
  
  
  if __name__ == "__main__":
   # Enter a drug name and a zip code
   UpperCAmelCase					=				input('''Enter drug name: ''').strip()
   UpperCAmelCase					=				input('''Enter zip code: ''').strip()
  
   UpperCAmelCase					=				fetch_pharmacy_and_price_list(
       drug_name, zip_code
   )
  
   if pharmacy_price_list:
    print(f'''\nSearch results for {drug_name} at location {zip_code}:''')
    for pharmacy_price in pharmacy_price_list:
     UpperCAmelCase					=				pharmacy_price["""pharmacy_name"""]
     UpperCAmelCase					=				pharmacy_price["""price"""]
  
     print(f'''Pharmacy: {name} Price: {price}''')
   else:
    print(f'''No results found for {drug_name}''')
  
  
  
  
style_context: from .chunk_utils import chunk_layer
  from .data_transforms import make_atomaa_masks
  from .feats import atomaa_to_atomaa, frames_and_literature_positions_to_atomaa_pos, torsion_angles_to_frames
  from .loss import compute_predicted_aligned_error, compute_tm
  from .protein import Protein as OFProtein
  from .protein import to_pdb
  from .rigid_utils import Rigid, Rotation
  from .tensor_utils import dict_multimap, flatten_final_dims, permute_final_dims
  
  
  
  