In this pull request, I made two significant changes.
Firstly, I changed the way to check the user inputs. I realize how idiot was to put all those loops that prompt the user what they have to enter outside the functions that check those inputs. So I moved back.
Secondly, I created the option to edit a transaction. When a user modifies a transaction, that transaction is removed from the user balance, and then it is updated with the new data. Also, I rewrite the enter_transaction function to use it only to get the data of a transaction.
I have to rewrite the test because they are not passing.
In this pull request, I made two significant changes. Firstly, I changed the way to check the user inputs. I realize how idiot was to put all those loops that prompt the user what they have to enter outside the functions that check those inputs. So I moved back. Secondly, I created the option to edit a transaction. When a user modifies a transaction, that transaction is removed from the user balance, and then it is updated with the new data. Also, I rewrite the enter_transaction function to use it only to get the data of a transaction. I have to rewrite the test because they are not passing.