Basic Python Programming: for loops and reading files

"""add the length of all the strings in the list""" total = 0 for item in alist: ... ‘python’, and in that folder is the file I want to read, ‘sample.txt’. Windows 1 specifies the directory path ... (save the file as a ‘Text Document’), or Microsoft Word (save the file as ‘text only with line ................
................