Question: Write a Python program that processes a file called inp.txt whose structure is described previously, to produce output with the following structure ( however ,
Write a Python program that processes a file called inp.txt whose structure is described previously, to produce output with the following structure however your program is allowed to print these lines in any order
For each unikey, give the number of units where the students mark in that unit in is at least If none of the students results in that year are in the required range, show as the number of units. You may assume that every student mentioned in the file studied one or more subjects in
If there are no rows other than the header in the input, nothing should be printed at all.
So when run with the file given above as input, the output should be in some order:
jsmi
ocat
tgol
pdon
In pdon has grades of or more in units engl and math ocat has or more in in unit math; note that this students mark in chem is below and the high score in engl is in a different year. CONTENTS OF INP.TXT BELOW
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
