code: 
  
  
  
  from urllib.error import HTTPError
  
  from bsa import BeautifulSoup
  from requests import exceptions, get
  
  __A       					=		'''https://www.wellrx.com/prescriptions/{0}/{1}/?freshSearch=true'''
  
  
  
  def  __a  (					lowerCAmelCase_     :      str    ,lowerCAmelCase_     :      str       )   ->				list | None:
  
  
  
  
  
  
  						'''simple docstring'''
  
  
  
  						try:
  												# Has user provided both inputs?
  												if not drug_name or not zip_code:
  																		return None
  
  												UpperCAmelCase_=     BASE_URL.format(lowerCAmelCase_    ,lowerCAmelCase_       )
  												UpperCAmelCase_=     get(lowerCAmelCase_       )
  
  												# Is the response ok?
  												response.raise_for_status()
  
  												# Scrape the data using bs4
  												UpperCAmelCase_=     BeautifulSoup(response.text    ,"""html.parser"""       )
  
  												# This list will store the name and price.
  												UpperCAmelCase_=     []
  
  												# Fetch all the grids that contains the items.
  												UpperCAmelCase_=     soup.find_all("""div"""    ,{"""class""": """grid-x pharmCard"""}       )
  												if grid_list and len(lowerCAmelCase_       ) > 0:
  																		for grid in grid_list:
  																								# Get the pharmacy price.
  																								UpperCAmelCase_=     grid.find("""p"""    ,{"""class""": """list-title"""}       ).text
  
  																								# Get price of the drug.
  																								UpperCAmelCase_=     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
  	__A       					=		input('''Enter drug name: ''').strip()
  	__A       					=		input('''Enter zip code: ''').strip()
  
  	__A       					=		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:
  			__A       					=		pharmacy_price['''pharmacy_name''']
  			__A       					=		pharmacy_price['''price''']
  
  			print(f'Pharmacy: {name} Price: {price}')
  	else:
  		print(f'No results found for {drug_name}')
  
  
  
  
  
style_context: 
  
  
  
  from math import radians as angle_to_radians
  from math import sin
  
  # Acceleration Constant on Earth (unit m/s^2)
  __A       					=		9.8_0_6_6_5
  
  
  
  def  __a  (					lowerCAmelCase_     :      float    ,lowerCAmelCase_     :      float       )   ->				None:
  
  
  
  
  
  
  						'''simple docstring'''
  
  
  
  						if not isinstance(lowerCAmelCase_    ,(int, float)       ):
  												raise TypeError("""Invalid velocity. Should be a positive number."""       )
  
  						if not isinstance(lowerCAmelCase_    ,(int, float)       ):
  												raise TypeError("""Invalid angle. Range is 1-90 degrees."""       )
  
  						# Ensure valid angle
  						if angle > 90 or angle < 1:
  												raise ValueError("""Invalid angle. Range is 1-90 degrees."""       )
  
  						# Ensure valid velocity
  						if init_velocity < 0:
  												raise ValueError("""Invalid velocity. Should be a positive number."""       )
  
  
  
  def  __a  (					lowerCAmelCase_     :      float    ,lowerCAmelCase_     :      float       )   ->				float:
  
  
  
  
  
  
  						'''simple docstring'''
  
  
  
  						check_args(lowerCAmelCase_    ,lowerCAmelCase_       )
  						UpperCAmelCase_=     angle_to_radians(2 * angle       )
  						return round(init_velocity**2 * sin(lowerCAmelCase_       ) / g    ,2       )
  
  
  
  def  __a  (					lowerCAmelCase_     :      float    ,lowerCAmelCase_     :      float       )   ->				float:
  
  
  
  
  
  
  						'''simple docstring'''
  
  
  
  						check_args(lowerCAmelCase_    ,lowerCAmelCase_       )
  						UpperCAmelCase_=     angle_to_radians(lowerCAmelCase_       )
  						return round(init_velocity**2 * sin(lowerCAmelCase_       ) ** 2 / (2 * g)    ,2       )
  
  
  
  def  __a  (					lowerCAmelCase_     :      float    ,lowerCAmelCase_     :      float       )   ->				float:
  
  
  
  
  
  
  						'''simple docstring'''
  
  
  
  						check_args(lowerCAmelCase_    ,lowerCAmelCase_       )
  						UpperCAmelCase_=     angle_to_radians(lowerCAmelCase_       )
  						return round(2 * init_velocity * sin(lowerCAmelCase_       ) / g    ,2       )
  
  
  
  def  __a  (					)   ->				None:
  
  
  
  
  
  
  						'''simple docstring'''
  
  
  
  						UpperCAmelCase_,     UpperCAmelCase_=     25, 20
  						assert horizontal_distance(lowerCAmelCase_    ,lowerCAmelCase_       ) == 40.97
  						assert max_height(lowerCAmelCase_    ,lowerCAmelCase_       ) == 3.73
  						assert total_time(lowerCAmelCase_    ,lowerCAmelCase_       ) == 1.74
  
  
  if __name__ == "__main__":
  	from doctest import testmod
  
  	testmod()
  
  	# Get input from user
  	__A       					=		float(input('''Initial Velocity: ''').strip())
  
  	# Get input from user
  	__A       					=		float(input('''angle: ''').strip())
  
  	# Print results
  	print()
  	print('''Results: ''')
  	print(f'Horizontal Distance: {horizontal_distance(init_vel, angle)!s} [m]')
  	print(f'Maximum Height: {max_height(init_vel, angle)!s} [m]')
  	print(f'Total Time: {total_time(init_vel, angle)!s} [s]')
  
  
  
  
  