Question #689084 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/689084
Status: Open => Answered Manfred Hampl proposed the following answer: 1. I do not see any relationship to Sikuli, but only Python. You should start with books that teach how to do Python programming. 2. Learn how to debug programs with print statements at key locations. 3. If discount is not an integer, but a float, then you should initialize it with 0.0 instead of 0 (the same for other variables). 4. Again you have typo errors: quantity_purchased vs. qunatity_purchased 5. calculate_fullprice() does not return a value. -- 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 : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp