Final answer:
To call the function sum from the file myFuncs.py, use the import statement and specify the module and the function name.
Step-by-step explanation:
To call the function sum from the file myFuncs.py using the import statement, you need to follow these steps:
- First, import the module by using the import keyword followed by the name of the file without the file extension. For example, import myFuncs.
- Next, to access the function sum within the module, use myFuncs.sum(). You would use this syntax to call the function and pass the necessary arguments. For example, result = myFuncs.sum(3, 5).