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

Rainer proposed the following answer:
The following code:

for i in range(4):
    print(i)
    if i % 2:
        print("is odd")
    else:
        print("is even")

 
should result in the following output:

0
is even
1
is odd
2
is even
3
is odd


Could you please copy & paste this code in the SikuliX IDE and run it? Does it 
work?

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to