In the sentence "ELECTRICITY begins with E and ends also with E", we observe that the word "ends" inclusive of the said sentence, starts with "E".
Since the word "ELECTRICITY" actually begins with "E", we can now say that "electricity" begins with E and ends also with E.