Make a module in Exer. 3.7. Collect the f and S functions in the program from Exercise 3.7 in a separate file such that this file becomes a module. Put the statements making the table (i.e., the main program from Exercise 3.7) in a separate function table(values, alpha values, T), and call this function only if the module file is run as a program (i.e., call table from a test block, see Chapter 4.5.2). Name of program file: sinesum2.py.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here