Question: 3. Given the following code for reading a file, fill in the missing parts of the code so it works correctly. f=[AAA]( testQuestions.txt, [BBB]) for
3. Given the following code for reading a file, fill in the missing parts of the code so it works correctly. f=[AAA]( "testQuestions.txt", [BBB]) for line in [CCC] : vals = line.[DDD](",") q num = vals[0] q text = vals [1] print(q num,q_text) f.close()
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
