6. Compare data structures for polynomials. Write a code snippet that uses both a list and a dictionary to represent the polynomial − 1 2 + 2x 100. Print the list and the dictionary, and use them to evaluate the polynomial for x = 1.05 (you can apply the poly1 and poly2 functions from Chapter 6.2.3). Name of program file: poly_repr.py.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here