Anonymous user
Shakespeare: Difference between revisions
→Using the word "love"
imported>Ynasser |
imported>Ynasser |
||
Line 86:
>>> lv_counter = 0;
</pre>
6. Use a for loop (or while loop, if you like) to read through the lines of the file. While you are reading each line, count the number of lines that contains the word "love"
7. Does Shakespeare use a lot of love in his plays? How about other synonyms of "love"?
|