Skip to content

Instantly share code, notes, and snippets.

@DecisionNerd
Last active December 16, 2015 21:29
Show Gist options
  • Save DecisionNerd/5499977 to your computer and use it in GitHub Desktop.
Save DecisionNerd/5499977 to your computer and use it in GitHub Desktop.
Python function for solving the polynomial substitution problems in Udacity College Algebra Lesson 2 Problem 6 (SJSU MA008)
def l2p6(x):
ans = (x**3)+(2*(x**2))+(3*x)-2
print ans
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment