During the Backend hacks I was able to use my code to create the table however I was unable to put my user input into the .db file. The issues comes from the fact that the categories are present however there isn't a data in the table. To fix this I used google articles https://stackoverflow.com/questions/58199829/database-file-is-empty-but-database-is-working which were unable to help me fix this issue.

After changing the code when I tried to run the file again I got an error saying "no module named _init". I tried to delete the .db file to fix this however that didn't fix it. I also tried the solutions here:https://www.freecodecamp.org/news/module-not-found-error-in-python-solved/ and those were still not able to help me solve the problem.