
import requests
from bsa import BeautifulSoup






def     lowerCamelCase__				(   a						,						a ) ->  str:
   _A:    List[str]						     =			(
       """https://www.horoscope.com/us/horoscopes/general/"""
       f"""horoscope-general-daily-{day}.aspx?sign={zodiac_sign}"""
   )
   _A:    List[str]						     =			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	     = int(input('number> ').strip())
   print('choose some day:\n', 'yesterday\n', 'today\n', 'tomorrow\n')
   UpperCAmelCase__						:	Tuple	     = input('enter the day> ')
   UpperCAmelCase__						:	Any	     = horoscope(zodiac_sign, day)
   print(horoscope_text)




from __future__ import annotations

from statistics import mean

def   a_					(_lowerCAmelCase  :   list[int]       )->				list[int]:
    snake_case:						Tuple         =   2
    snake_case:						str         =   list(_lowerCAmelCase       )
    snake_case:						Union[str, Any]         =   [0] * len(_lowerCAmelCase       )
    snake_case:						List[Any]         =   0
    while True:
        snake_case:						Optional[int]         =   True
        for i, burst_time in enumerate(_lowerCAmelCase       ):
            if rem_burst_times[i] > 0:
                snake_case:						Dict         =   False
                if rem_burst_times[i] > quantum:
                    t += quantum
                    rem_burst_times[i] -= quantum
                else:
                    t += rem_burst_times[i]
                    snake_case:						Optional[Any]         =   t - burst_time
                    snake_case:						Tuple         =   0
        if done is True:
            return waiting_times

def   a_					(_lowerCAmelCase  :   list[int]			,	_lowerCAmelCase  :   list[int]       )->				list[int]:
    return [burst + waiting for burst, waiting in zip(_lowerCAmelCase			,	_lowerCAmelCase       )]


if __name__ == "__main__":
    __lowerCAmelCase    :  List[Any]										= [3, 5, 7]
    __lowerCAmelCase    :  List[Any]										= calculate_waiting_times(burst_times)
    __lowerCAmelCase    :  str										= calculate_turn_around_times(burst_times, waiting_times)
    print('Process ID \tBurst Time \tWaiting Time \tTurnaround Time')
    for i, burst_time in enumerate(burst_times):
        print(
            F"""  {i + 1}\t\t  {burst_time}\t\t  {waiting_times[i]}\t\t  """
            F"""{turn_around_times[i]}"""
        )
    print(F"""\nAverage waiting time = {mean(waiting_times):.5f}""")
    print(F"""Average turn around time = {mean(turn_around_times):.5f}""")


