CSci 150: Foundations of computer science I
Home Syllabus Assignments Tests

printable version

Exam 2 Review B

[1] [2] [3] [4] [5] [6] [7]

Problem X2rB.1.

Complete the below Python fragment so that it computes and displays the length of the longest line in the text file.

essay = open('words.txt')