Previously you learned how to use the print and the max functions. Both these functions were called using one argument each.
However, there are also functions which need more than one argument. Such an example is the pow function.
The pow function is designed to calculate the power of a number. The programmer is expected to enter the base as the first argument and the exponent as the second. In our case, 2 in power of 3 is equal to 8. But how do I know that the pow function expects the base as the first argument, and the exponent as the second? Let me show you how in the next lecture.
Next Lecture
Python Mega Course: Learn Python in 60 Days, Build 20 Apps
Learn Python on Udemy completely in 60 days or less by building 20 real-world applications from web development to data science.