Skip to content

Instantly share code, notes, and snippets.

@manhha00
Created November 27, 2017 03:11
Show Gist options
  • Save manhha00/685bc80ed6caac95c3059ae5ce40d955 to your computer and use it in GitHub Desktop.
Save manhha00/685bc80ed6caac95c3059ae5ce40d955 to your computer and use it in GitHub Desktop.
maya - python - functools
#Following is the exercise, function provided:
from functools import partial
def func(u,v,w,x):
return u + v + w + x
#Enter your code here to create and print with your partial function
dbl = partial(func, 4 , 4 , 4)
print (dbl(4))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment