Python Forum

Full Version: How does the code run? My code wrong?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
[attachment=731]

Referring to the screenshot above, you can see the "print()" was excuted 2 times, although 1 time is expected.
According to the results printed, the second time excution is expected because the first time looks like "candles_scanned = self.candle_begin + self.candles_quantity" wasn't excuted at all.
I'm so confused how this kind of issue happened, and appreciate if anyone can suggest how to get it fixed.