New course! Every coder should learn Generative AI!
Try a free lesson+ 10
Actually parameters of function simply mean the inputs which a function takes. As we can see the only input required by the function is only x so it is a parameter. Whereas result is a variable inside function to facilitate calculation.