

"""simple docstring"""





import random
import sys

_SCREAMING_SNAKE_CASE							:	str										=			"""ABCDEFGHIJKLMNOPQRSTUVWXYZ"""



def 							_lowerCAmelCase   (    ):


					'''simple docstring'''






					UpperCamelCase__		:     Any								=input('''Enter message: '''					)
					UpperCamelCase__		:     Dict								='''LFWOAYUISVKMNXPBDCRJTQEGHZ'''
					UpperCamelCase__		:     int								=input('''Encrypt/Decrypt [e/d]: '''					)

					check_valid_key(UpperCAmelCase					)

					if resp.lower().startswith('''e'''					):
										UpperCamelCase__		:     List[str]								='''encrypt'''
										UpperCamelCase__		:     Union[str, Any]								=encrypt_message(UpperCAmelCase   ,				UpperCAmelCase					)
					elif resp.lower().startswith('''d'''					):
										UpperCamelCase__		:     Tuple								='''decrypt'''
										UpperCamelCase__		:     Union[str, Any]								=decrypt_message(UpperCAmelCase   ,				UpperCAmelCase					)

					print(F'''\n{mode.title()}ion: \n{translated}'''					)



def 							_lowerCAmelCase   (    UpperCAmelCase  :				str					):


					'''simple docstring'''






					UpperCamelCase__		:     Dict								=list(UpperCAmelCase					)
					UpperCamelCase__		:     int								=list(UpperCAmelCase					)
					key_list.sort()
					letters_list.sort()

					if key_list != letters_list:
										sys.exit('''Error in the key or symbol set.'''					)



def 							_lowerCAmelCase   (    UpperCAmelCase  :				str   ,				UpperCAmelCase  :				str					):


					'''simple docstring'''






					return translate_message(UpperCAmelCase   ,				UpperCAmelCase   ,				'''encrypt'''					)



def 							_lowerCAmelCase   (    UpperCAmelCase  :				str   ,				UpperCAmelCase  :				str					):


					'''simple docstring'''






					return translate_message(UpperCAmelCase   ,				UpperCAmelCase   ,				'''decrypt'''					)



def 							_lowerCAmelCase   (    UpperCAmelCase  :				str   ,				UpperCAmelCase  :				str   ,				UpperCAmelCase  :				str					):


					'''simple docstring'''






					UpperCamelCase__		:     Tuple								=''''''
					UpperCamelCase__		:     List[Any]								=LETTERS
					UpperCamelCase__		:     Dict								=key

					if mode == "decrypt":
										UpperCamelCase__	,      UpperCamelCase__		:     Dict								=chars_b, chars_a

					for symbol in message:
										if symbol.upper() in chars_a:
															UpperCamelCase__		:     List[Any]								=chars_a.find(symbol.upper()					)
															if symbol.isupper():
																				translated += chars_b[sym_index].upper()
															else:
																				translated += chars_b[sym_index].lower()
										else:
															translated += symbol

					return translated



def 							_lowerCAmelCase   (    ):


					'''simple docstring'''






					UpperCamelCase__		:     int								=list(UpperCAmelCase					)
					random.shuffle(UpperCAmelCase					)
					return "".join(UpperCAmelCase					)


if __name__ == "__main__":
				main()





"""simple docstring"""





import requests
from bsa import BeautifulSoup



def 							_lowerCAmelCase   (    UpperCAmelCase  :				int   ,				UpperCAmelCase  :				str					):


					'''simple docstring'''






					UpperCamelCase__		:     Any								=(
					    '''https://www.horoscope.com/us/horoscopes/general/'''
					    F'''horoscope-general-daily-{day}.aspx?sign={zodiac_sign}'''
					)
					UpperCamelCase__		:     List[str]								=BeautifulSoup(requests.get(UpperCAmelCase					).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""",
				)
				_SCREAMING_SNAKE_CASE							:	Any										=			int(input("""number> """).strip())
				print("""choose some day:\n""", """yesterday\n""", """today\n""", """tomorrow\n""")
				_SCREAMING_SNAKE_CASE							:	List[str]										=			input("""enter the day> """)
				_SCREAMING_SNAKE_CASE							:	Dict										=			horoscope(zodiac_sign, day)
				print(horoscope_text)


