← 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

dustin posted a new comment:
sorry quick code fix I was trying varriations of if.  Still dosn't work
with while command.

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

x=x-1 is the problem. Tried many varriations x=x-- ect so far nothing
works.

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