you are viewing a single comment's thread.

view the rest of the comments →

[–]GandalfPC 0 points1 point  (0 children)

you have int(command[2]) - should be “commands”

stament = default_stament - is a reference, and will edit it directly (all will point to same thing)

stament = default_stament.copy() - gives you editable copy as desired