Question: QUESTION 3 Given a text file random table.txt that has the following lines fluttering 42 youthful 73 post eggnog empty observant 53 94 39 What

QUESTION 3 Given a text file random table.txt that has the following lines fluttering 42 youthful 73 post eggnog empty observant 53 94 39 What is printed by the following code when run in the same directory as the file? Assume the text file has no empty lines. fh open ('random table.txt') random strings = [] random numbers = [] for line in fh: fields = line.split() random strings.append (fields [01) random numbers . append ( int ( fields [ 1 ] ) ) print (random strings [2]) print (max (random numbers)) post 94 post 53 youthful 94 youthful 53 Traceback (most recent call last) File "
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
