You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This Python script will find the lyric that appears the most times in a *txt* file containing lyrics to a song.
2
+
This Python script will find and return the most frequently appearing lyric of a song.
3
+
In the case where there is more than one lyric, it will return the lyric that appears first in the song.
3
4
4
-
A sample file is provided named song.txt and contains the lyrics to Don't Stop Believin' by Journey.
5
+
This script accepts song lyrics only as *.txt* files.
6
+
A sample file is provided named *song.txt* that contains the lyrics to Don't Stop Believin' by Journey, but feel free to add your own *.txt* file to the direcctory.
5
7
6
-
You can add your own file to the directory, but make sure to add the filename as input after running the script to return results.
8
+
Make sure to input the filename after running the script to return results.
0 commit comments