from __future__ import annotations






def 					SCREAMING_SNAKE_CASE_			(		lowerCAmelCase_: list[int] ,	lowerCAmelCase_: int     ):
      snake_case_  ,snake_case_     :			Dict       =       0, len(lowerCAmelCase_     ) - 1
      while start_ind <= end_ind:
            if array[start_ind] == search_item:
                  return start_ind
            elif array[end_ind] == search_item:
                  return end_ind
            else:
                  start_ind += 1
                  end_ind -= 1
    # returns -1 if search_item is not found in array
      return -1


if __name__ == "__main__":
     print(double_linear_search(list(range(1_0_0)), 4_0))




import requests
from bsa import BeautifulSoup






def 					SCREAMING_SNAKE_CASE_			(		lowerCAmelCase_: int ,	lowerCAmelCase_: str     ):
      snake_case_     :			Optional[int]       =       (
          "https://www.horoscope.com/us/horoscopes/general/"
          f"horoscope-general-daily-{day}.aspx?sign={zodiac_sign}"
      )
      snake_case_     :			int       =       BeautifulSoup(requests.get(lowerCAmelCase_     ).content ,	"html.parser"     )
      return soup.find("div" ,	class_="main-horoscope"     ).p.text


if __name__ == "__main__":
     print("Daily Horoscope. \n")
     print(
         "enter your Zodiac sign number:\n",
         "1. Aries\n",
         "2. Taurus\n",
         "3. Gemini\n",
         "4. Cancer\n",
         "5. Leo\n",
         "6. Virgo\n",
         "7. Libra\n",
         "8. Scorpio\n",
         "9. Sagittarius\n",
         "10. Capricorn\n",
         "11. Aquarius\n",
         "12. Pisces\n",
     )
     UpperCAmelCase							=       int(input("number> ").strip())
     print("choose some day:\n", "yesterday\n", "today\n", "tomorrow\n")
     UpperCAmelCase							=       input("enter the day> ")
     UpperCAmelCase							=       horoscope(zodiac_sign, day)
     print(horoscope_text)



