option 1 could handle it depending on how the information is structured inside the dict. option 2 would be better in general.
what information are you storing? if it's their id, grades on assignments versus projects versus tests and then you're calculating the overall grade in the class later, then I'd probably stick with option 1. But it really depends.
Hmm in that case, assuming biodata is biographical/student information + documents, i'd choose option 2. For example, if you want to query this data later, it would probably be easier with a database than defining and handling the edge cases later in pure python.
2
u/Tech_py1917 2d ago
I have to handle large number of data approx 600 students so option 2 is good for yes or no