Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribedimage text in transcribed

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 0 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

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Main Memory Database Systems

Authors: Frans Faerber, Alfons Kemper, Per-Åke Alfons

1st Edition

1680833243, 978-1680833249

More Books

Students also viewed these Databases questions