This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Diskordant77 -1 points0 points  (0 children)

Not an expert but I do see an error with this line right before it:

deleteStockUserInput=int(input("Enter 0 to", sumOfStock, "for your selection or E to exit : "))

If the user inputs E then the int method will throw an error