Solution Exercise 59: Python program to find the longest word in text file
Exercise 59 Write a Python program that displays the longest word found in a text file. Solution # opening the existing file in read modf = open("monFichier.txt", 'r')# getting the…