New question #198547 on Sikuli:
https://answers.launchpad.net/sikuli/+question/198547
I am having trouble with simple math in a while loop. The program refuses to
perform the subtraction and continue the loop. Here is the response:
[error] Error message: Traceback (most recent call last):
File "C:\Users\Kirby\AppData\Local\Temp\sikuli-tmp3822756621507804793.py",
line 7, in
x=x-1
TypeError: unsupported operand type(s) for -: 'unicode' and 'int'
x = input("How many times to type Hello?:")
if (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.
_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp