| 9 | |
| 10 | |
| 11 | def check_sign(): |
| 12 | your_birth_day = input("enter your birthday day number> ") |
| 13 | your_birth_month = input("cool, and the month number, please> ") |
| 14 | if (int(your_birth_month) == 12 and int(your_birth_day) >= 22) or ( |
| 15 | int(your_birth_month) == 1 and int(your_birth_day) <= 19 |
| 16 | ): |
| 17 | sign = "Capricorn" |
| 18 | elif (int(your_birth_month) == 1 and int(your_birth_day) >= 20) or ( |
| 19 | int(your_birth_month) == 2 and int(your_birth_day) <= 17 |
| 20 | ): |
| 21 | sign = "Aquarium" |
| 22 | elif (int(your_birth_month) == 2 and int(your_birth_day) >= 18) or ( |
| 23 | int(your_birth_month) == 3 and int(your_birth_day) <= 19 |
| 24 | ): |
| 25 | sign = "Pices" |
| 26 | elif (int(your_birth_month) == 3 and int(your_birth_day) >= 20) or ( |
| 27 | int(your_birth_month) == 4 and int(your_birth_day) <= 19 |
| 28 | ): |
| 29 | sign = "Aries" |
| 30 | elif (int(your_birth_month) == 4 and int(your_birth_day) >= 20) or ( |
| 31 | int(your_birth_month) == 5 and int(your_birth_day) <= 20 |
| 32 | ): |
| 33 | sign = "Taurus" |
| 34 | elif (int(your_birth_month) == 5 and int(your_birth_day) >= 21) or ( |
| 35 | int(your_birth_month) == 6 and int(your_birth_day) <= 20 |
| 36 | ): |
| 37 | sign = "Gemini" |
| 38 | elif (int(your_birth_month) == 6 and int(your_birth_day) >= 21) or ( |
| 39 | int(your_birth_month) == 7 and int(your_birth_day) <= 22 |
| 40 | ): |
| 41 | sign = "Cancer" |
| 42 | elif (int(your_birth_month) == 7 and int(your_birth_day) >= 23) or ( |
| 43 | int(your_birth_month) == 8 and int(your_birth_day) <= 22 |
| 44 | ): |
| 45 | sign = "Leo" |
| 46 | elif (int(your_birth_month) == 8 and int(your_birth_day) >= 23) or ( |
| 47 | int(your_birth_month) == 9 and int(your_birth_day) <= 22 |
| 48 | ): |
| 49 | sign = "Virgo" |
| 50 | elif (int(your_birth_month) == 9 and int(your_birth_day) >= 23) or ( |
| 51 | int(your_birth_month) == 10 and int(your_birth_day) <= 22 |
| 52 | ): |
| 53 | sign = "Libra" |
| 54 | elif (int(your_birth_month) == 10 and int(your_birth_day) >= 23) or ( |
| 55 | int(your_birth_month) == 11 and int(your_birth_day) <= 21 |
| 56 | ): |
| 57 | sign = "Scorpio" |
| 58 | elif (int(your_birth_month) == 11 and int(your_birth_day) >= 22) or ( |
| 59 | int(your_birth_month) == 12 and int(your_birth_day) <= 21 |
| 60 | ): |
| 61 | sign = "Sagittarius" |
| 62 | |
| 63 | return sign |
| 64 | |
| 65 | |
| 66 | def horoscope(zodiac_sign: int, day: str) -> str: |