Question: In python using If statements The horoscopes commonly reported in newspapers use the position of the sun at the time of one's birth to try

 In python using If statements The horoscopes commonly reported in newspapers

In python using If statements

The horoscopes commonly reported in newspapers use the position of the sun at the time of one's birth to try and predict the future. This system of astrology divides the year into twelve zodiac signs, as outline in the table below: Date range Zodiac sign Capricorn Aquarius Pisces Aries Taurus Gemini Cancer Leo Virgo Libra Scorpio Sagittarius December 22 to January 19 January 20 to February 18 February 19 to March 20 March 21 to April 19 April 20 to May 20 May 21 to June 20 June 21 to July 22 July 23 to August 22 August 23 to September 22 September 23 to October 22 October 23 to November 21 November 22 to December 21 Write a program that asks the user to enter his or her month and day of birth. Then your program should report the user's zodiac sign as part of an appropriate output message

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!