Question: Given a text file random_table 2.txt that has the following lines (examine the lines carefully) fluttering 42 10 youthful 73 8 post eggnog empty observant

Given a text file random_table 2.txt that has the following lines (examine the lines carefully) fluttering 42 10 youthful 73 8 post eggnog empty observant 53 0 44 5 39 1 For the following code, which line will cause an error when the code is run in the same directory as the text file? Assume the text file has no empty lines. 1 2 3 4 fh = open(' random table.txt' random int s=[] for line in fh: fields = line.split() random int str fields[ 21 random int - int(random int str) random ints.append (random int) 6 8 print (max(random ints))
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
