Ad
Code
Diff
  • forbes_route = lambda distance: max(distance) // 1.6
    
    • def forbes_route(*distances):
    • return max(*distances) // 1.6
    • forbes_route = lambda distance: max(distance) // 1.6
Code
Diff
  • power = lambda num, p: num ** p
    • def power(num, p):
    • return num ** p
    • power = lambda num, p: num ** p