Print greater_less_equal_5(4)


what does 4 5 6 mean in ()


If f is a function then you can call f with the call operator:


To send f values, put them between the parentheses:


Separated by comma if there are several values to send:

f(1, 2)


but why 4 5 6 in this example


You’re testing a function that compares the value provided to it, to the number 5
Wouldn’t it then be a good idea to test it with values that are less than 5, equal to 5, and greater than 5 to see whether the function is able to categorize them correctly?


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.