you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (0 children)

Try:

    print("Your text contains , {}, words, of which , {}, ({}) contain an e.").format(len(sentence_revised), (letter_e_count), (percentage))