Aan de slagGa gratis aan de slag

Choosing exercise routine

Recall the example from the slides about choosing an exercise routine that burns the max number of calories. A function has been defined for you that, based on the input of pushups and miles ran, will print the number of calories burned, time used, and if that time is greater than 10 minutes.

lp(num_pushup, num_miles_ran)

Run the function at the different points and answer which statement is true.

  • Point A lp(50, 0)
  • Point B lp(0, 1)
  • Point C lp(30, 0.5)

Deze oefening maakt deel uit van de cursus

Supply Chain Analytics in Python

Cursus bekijken

Praktische interactieve oefening

Zet theorie om in actie met een van onze interactieve oefeningen.

Begin met trainen