Question: In Visual Studio code create a python function that calculates an age based on a year, month, and day. Use the following code as starting

In Visual Studio code create a python function that calculates an age based on a year, month, and day.
Use the following code as starting point:
import datetime
def calculate_age(year, month, day):
birth_year =1996
birth_month =2
birth_day =29
age = calculate_age(birth_year, birth_month, birth_day)
print(f"Your age is: {age}")
This code should produce:
Your age is: 27
Part 2 Creating a Function App + HTTP Trigger
Create a Function App with an HTTP Trigger. Run a Test of the function without changes.
[Print Screen]
Part 3 Adding Code
Make a code change to run the function from Part 1 in the Function from Part 2. Run the code
[Print Screen]

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 Programming Questions!