Question: How do i type this code # Q5 (3 points) # Prompt: Please create a function, exampleFive, that will help calcualte our age in dog
How do i type this code # Q5 (3 points) # Prompt: Please create a function, exampleFive, that will help calcualte our age in dog years. This function will take one input parameter, an integer. # Recall, to get your age in dog years you simply have to divide your age by 7. Please return "In dog years, I am %parameter1 / 7%. But, in human years I am %parameter1%" # Example Input: 24.5 # Example Output: "In dog years I am 3.5. But, in humans years, I am 24.5"
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
