I need help in coding a simple program in python to allow python to create a database (without me having to see the file open) which will then have a table in the database that I can add fields to, without seeing the table or manually editing it. Also I would like to be able to use some code to search for and order the results in the database table.
I know that I will not be able to see the table, as I will only be able to add and view results that I have searched for
I want the table to be called 'resultstable'
and I want the following fields to be in the table:
firstname surname classnumber [I will only have one class number] quiz_score [this will be from 1 to 10]
I would like to be able enter three results for one pupil, which I also do not know what to do.
I understand print commands and creating variables but I would like an explanation of what other parts of the code are doing when I run the program. Hope you can help!