Question: python program Question 1 Given a person's name, their age, the name of their dog and their dog's age (in human years), display a picture,
python program
Question 1 Given a person's name, their age, the name of their dog and their dog's age (in human years), display a picture, similar to the following, with the names displayed and the ages of both the person and the dog in "dog years" printed at the bottom of the picture. Sample input (shown in blue) and output from the program is as follows: Please enter your name: Radha Please enter your age in human years: 38 Please enter your dog's name: Curly Please enter your dog's age in human years: 3 Radha Curly 21 dog yrs 266 dog yrs The picture/drawing portion is displayed using only the following characters: O O /\ | Note: For this program, you may assume the old-fashioned, simple conversion of 1 human year is equivalent to 7 dog years, although the actual equivalency is much more complicated than this. Call the file containing your program petPicture.py
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
