← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #244404]: How to write parameterized function in sikuli and use it piblically

 

Question #244404 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/244404

RaiMan proposed the following answer:
def function(p1, p2, p3):
    if p1 == p2: 
        return p3
    else:
       return p2

x = function(1,2,3)

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.