Menu

[solved]-Write Python Code Using Available Resource Pasted Use Functions Want Must Use Exception Ha Q39025293

Write a python code using the available resource pastedbelow:

You can use functions if you want. But, you must use anexception handler for the file

Output:     Average number ofwords per line: 26.0

No one is unaware of the name of that famous English shipowner,Cunard.
In 1840 this shrewd industrialist founded a postal service betweenLiverpool and Halifax, featuring three wooden ships with400-horsepower paddle wheels and a burden of 1,162 metrictons.
Eight years later, the company’s assets were increased by four650-horsepower ships at 1,820 metric tons, and in two more years,by two other vessels of still greater power and tonnage.
In 1853 the Cunard Co., whose mail-carrying charter had just beenrenewed, successively added to its assets the Arabia, the Persia,the China, the Scotia, the Java, and the Russia, all ships of topspeed and, after the Great Eastern, the biggest ever to plow theseas.
So in 1867 this company owned twelve ships, eight with paddlewheels and four with propellers.
If I give these highly condensed details, it is so everyone canfully understand the importance of this maritime transportationcompany, known the world over for its shrewd management.
No transoceanic navigational undertaking has been conducted withmore ability, no business dealings have been crowned with greatersuccess.
In twenty-six years Cunard ships have made 2,000 Atlantic crossingswithout so much as a voyage canceled, a delay recorded, a man, acraft, or even a letter lost.
Accordingly, despite strong competition from France, passengersstill choose the Cunard line in preference to all others, as can beseen in a recent survey of official documents.
Given this, no one will be astonished at the uproar provoked bythis accident involving one of its finest steamers.

Expert Answer


Answer to Write a python code using the available resource pasted below: You can use functions if you want. But, you must use an e… . . .

OR


Leave a Reply

Your email address will not be published. Required fields are marked *