AnishKumbhar commited on
Commit
4b6d5c5
1 Parent(s): 2c5f9f9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -1,5 +1,6 @@
1
  @app.get("/calculate-food")
2
  def calculate_food_endpoint(activity: int, weight: int):
 
3
  """
4
  Calculates the recommended amount of dog food based on activity level and weight.
5
 
 
1
  @app.get("/calculate-food")
2
  def calculate_food_endpoint(activity: int, weight: int):
3
+ return round(activity / weight, 2)
4
  """
5
  Calculates the recommended amount of dog food based on activity level and weight.
6