Python Programming

Omaxwellok

  

  

1. Longest Words

Write a Python program that reads words from a file (file name user supplied) in which the words are stored one per line. Your program will print to screen the ten longest words and gives their file location in the original file, assuming the first word is stored in location #1. 

2. File Reading

Write a Python program to read first n lines of a file. User will supply name of file.

    • 6 years ago
    • 20
    Answer(1)

    Purchase the answer to view it

    NOT RATED
    • AnswerDocument.docx