Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

NOTE : Is learning Python programming (currently on chapter 7) with the following textbook: Book Starting Out With Python 3rd Edition by Gaddis

NOTE: Is learning "Python programming" (currently on chapter 7) with the following textbook:

Book "Starting Out With Python" 3rd Edition by Gaddis

image text in transcribed

image text in transcribed

2. Write a program that tells the user what animal and personality characteristics he/she is likely to have based on the Chinese Zodiac Calendar. The program should ask the user for the year in which he/she was born. The twelve animals of the Zodiac and some of their associated years are o rat (1924, 1936, 1948, 1960) ox (1925, 1937, 1949, 1961) tiger (1926, 1938, 1950, 1962) rabbit (1927, 1939, 1951, 1963) o dragon (1928, 1940, 1952, 1964) . snake (1929, 1941, 1953, 1965) o horse (1930, 1942, 1954, 1966) o goat (1931, 1943, 1955, 1967) monkey (1932, 1944, 1956, 1968) rooster (1933, 1945, 1957, 1969) o dog (1934, 1946, 1958, 1970) pig (1935, 1947, 1959, 1971) Each year is associated with a particular animal. The years cycle through the animals hence the animal repeats every twelve years. Some characteristics of each animal are as follows Rat: industrious, sensitive, sociable Ox: dependable, modest, patient Tiger: rebellious, daring, impulsive

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

Database Fundamentals Study Guide

Authors: Dr. Sergio Pisano

1st Edition

B09K1WW84J, 979-8985115307

More Books

Students also viewed these Databases questions