how to write a student grades using data structure file ? please | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

how to write a student grades using data structure file ? please

16th Mar 2019, 6:52 PM
natnaeal
3 Answers
0
What do you have so far? What does the input file look like? Is it a .txt?
16th Mar 2019, 10:12 PM
Matt
Matt - avatar
0
yes it is
17th Mar 2019, 4:04 AM
natnaeal
0
Have you tried to do it? if your file is local it is infile = open(whatever the file path is, 'r') # the r is to have a read permission. can you upload what you have tried before I just put up how to read it to list or something else from the file object
17th Mar 2019, 4:52 AM
Matt
Matt - avatar