Need help writing this function in python 3 -


this question has answer here:

how represent code in python3 it's written in python 2

    def transform(x, y , (a, b, c, d, e, f)=matrix):         return a*x + b*y + c, d*x + e*y + f 

error

def transform(x, y , (a, b, c, d, e, f)=matrix):                      ^ syntaxerror: invalid syntax 

many more coming

def transform(x, y, matrix):     (a, b, c, d, e, f) = matrix     return a*x + b*y + c, d*x + e*y + f 

Comments

Popular posts from this blog

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -

python - Error while using APScheduler: 'NoneType' object has no attribute 'now' -