Question: Use Python ! ! ! In the main function Ask the user what year they were born. Call the function with one argument. Create a
Use Python In the main function
Ask the user what year they were born.
Call the function with one argument.
Create a function with one parameter.
The Chinese zodiac, also known as Shengxiao, is based on a twelveyear cycle, with each year
in that cycle related to an animal sign. The cycle is calculated according to the Chinese lunar
calendar, and it begins with the Rat.
Using conditional statements, print the zodiac symbol based on the chart below.
Test your function and show three different outcomes of your code in the Terminal
Output.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
