Question: python. question Write, test and document a Python program to solve each of the following problems. Note: While coding solutions for the problems given below,

python. question

python. question Write, test and document a Python program to solve each

Write, test and document a Python program to solve each of the following problems. Note: While coding solutions for the problems given below, keep in mind that you will also be marked on the following: efficient solution of the problem including sufficient descriptive comments in your program labelling for input and output program style - consistent formatting and indentation of program statements, meaningful variable names (identifiers) and the use of constants (constant identifiers), where appropriate 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 \/ 0_ / Radha 266 dog yrs Curly 21 dog yrs The picture/drawing portion is displayed using only the following characters: 0 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

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!