Question: python 16.17 Lab 3 Part E: The Fortune Teller In this question, you will use the skills you practiced in previous parts of the lab.
python

16.17 Lab 3 Part E: The Fortune Teller In this question, you will use the skills you practiced in previous parts of the lab. There are twelve Zodiac signs in Western Astrology. We are going to use these signs to write a program that tricks people into thinking it can predict the future. The twelve signs are given below. Depending on the year, these can shift slightly. We will ignore this fact. Act like these dates are always true Aries (March 21 to April 19) Taurus (April 20 to May 20) Gemini (May 21 to June 20) Cancer (June 21 to July 22) Leo (July 23 to August 22) Virgo (August 23 to September 22) Libra (September 23 to October 22) Scorpio (October 23 to November 21) Sagittarius (November 22 to December 21) Capricorn (December 22 to January 19) Aquarius (January 20 to February 18) . Pisces (February 19 to March 20) Ask for four inputs, the person's name, their birth month (as an integer), their birth day (as an integer), and their birth year (as an integer). Use a Try/Except to check if the values given are really integers. If not, set them to be O. Next, use if statements to determine the person's Zodiac sign. If the dates given do not fall into any of the above, assign the person the Zodiac sign Ophiuchus Finally, predict the sign of the person the user will marry. Make a list will all the Zodiac signs (except Ophiuchus). Put the Zodiac signs in the list in the same order they are listed above. Set the seed for the random number generator according the below formula 10000+day 100+len (name) sycar 1000000+month random, 3eed(8) for list L). Shuffle the list of Zodiac signs and display the one at the first index (position L Your output should be styled to match the below example. Welcome to The Fortune Teller of the Snake Enter your Name: Pretend Man Enter Birth Month (1-12): Enter Birth Day (1-31) Enter Birth Year (XXXX) 1979 Name: Pretend Man Born: 9 / 1/ 1979 Zodiac: Virgo You will marry a Cancer LAB 16.17.1: Lab 3 Part E: The Fortune Teller 0/4 main.py
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
