Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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,

image text in transcribedpython 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

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

Oracle 11G SQL

Authors: Joan Casteel

2nd Edition

1133947360, 978-1133947363

Students also viewed these Databases questions