79739211

Date: 2025-08-18 20:28:12
Score: 1
Natty:
Report link

You can consider high_ord_func as taking 2 arguments, the first is the value of x, and the second is the form of a function to evaluate.

Your second line is evaluating that function for x = 2 and func = x*x

This expands as:

x + func(x) = x + x*x = 2 + 2*2 = 6

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: ltspin