Question: write a program to display pet adoption information. For example: Input Result 2 3 Enter the number of puppies: 2 Enter the number of kitties:
write a program to display pet adoption information.
For example:
| Input | Result |
|---|---|
| 2 3 | Enter the number of puppies: 2 Enter the number of kitties: 3 You have adopted 2 puppies and 3 kitties. The insurance fee is $170. |
| 0 2 | Enter the number of puppies: 0 Enter the number of kitties: 2 You have adopted 0 puppies and 2 kitties. The insurance fee is $60. |
| 3 0 | Enter the number of puppies: 3 Enter the number of kitties: 0 You have adopted 3 puppies and 0 kitties. The insurance fee is $120. |
Step by Step Solution
3.42 Rating (158 Votes )
There are 3 Steps involved in it
here is a Python program to display pet adoption information Python def displaypetadoptioninformatio... View full answer
Get step-by-step solutions from verified subject matter experts
