I don’t think that there’s a soul on earth that can help you unless you post your code, formatted, of course.
If your code is long (100+ lines), which, given it’s a GUI app, is as likely as not, maybe you could post a shorted version; one that demonstrates the issue?
Hi Rob. I am new to this field so I am sending you the code in an attachment. Essentially the app is expected to account for purchase and sale and then provide balances on an ongoing basis. The code does the purchase but not the sale. I have diligently worked on making sure the indentation is correct but it looks like this is where I am failing. Your advice is appreciated.
(Attachment Track_code.txt is missing)
Please read the pinned thread in order to understand how to show code in your post with proper formatting.
From your description, it sounds as if your app is going to be 100+ lines of code, which is quite a lot and a big ask, for someone to debug that for you, although not out of the question.
To post code in a way that will preserve the formatting, you need to ‘fence off’ the code between backtics. The backtic can usually be found at the top LH side of a keyboard, just below the Esc
key and your code should look something like this, before you post it:
```python
# this is just a simple one line script
print(f"Hello {input('What is your name? ')}")
```
Thanks. I will work on this and get back to you.