Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started