← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #198547]: simple math in sikuli x=x-1 used in while loop

 

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

    Status: Open => Solved

dustin confirmed that the question is solved:
ok never mind mannaged to figure it out after all.  here is the
corrected code.

x = input("How many times to type Hello?:")
while ( x > 0 ):
    type( "Hello" )
    x = int(x)-1

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