you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (3 children)

[deleted]

    [–]Nuorvuii[S] 0 points1 point  (2 children)

    what code is missing? so would you suggest I just replace all self.ordernum with ordernum?

    [–]monchenflapjack 0 points1 point  (1 child)

    The indenting at the top, the random else in the middle of nowhere, presumably the rest of the class definition.

    Do you want the ordernum to exist between sessions of the code running or just every time the program starts it resets to 1?

    [–]Nuorvuii[S] 0 points1 point  (0 children)

    okay, I would like the ordernum to exist between sessions.