📅  最后修改于: 2023-12-03 15:02:07.224000             🧑  作者: Mango
This application is a simple lyric recommendation system that provides lyrics by Jay Z and O.J Simpson. It returns the lyrics in Markdown format.
get_lyrics_by_artist(artist_name)
This function takes an artist_name parameter (str) and returns the lyrics (str) of a song by the specified artist. If no song is found, it returns None.
import jayz_ojsimpson_lyrics as lyrics
# Get Lyrics by Jay Z
jayz_lyrics = lyrics.get_lyrics_by_artist("jay z")
# Get Lyrics by O.J Simpson
ojsimpson_lyrics = lyrics.get_lyrics_by_artist("o.j simpson")
# Print Lyrics in Markdown
print(f"## Jay Z Lyrics\n{jayz_lyrics}\n\n## O.J Simpson Lyrics\n{ojsimpson_lyrics}")
## Jay Z Lyrics
[Intro]
Uh-huh, Hova
You, you, you, are, huh
Uh-huh, Jigga, what?
You, you, you, are, huh
[Chorus]
Can I get a woop-woop to these niggas from all of my bitches?
Who don't love dough, they thinkin' evil
Me, myself, and I, is all I got in the end
That's what I found out
And it ain't no need to cry, I took a vow that from now on
I'ma be my own homie, keep control of my bankroll
And oh, no, hell, no, I won't let none of these niggas
Ride for me, find out for me
Live off of me, eat off of me
Why not? I'm a thug
But I can't keep losin' my funds, celibate with no loot
That's what I'm talkin' 'bout
Fuckin' you and any nigga tryna stop my bucks
Must be crazy
[Verse 1]
Seein' how I'm the man, when you gettin' money
People's ain't got no choice but to respect you
Cause you a threat to they well-being
No deals, I distribute, everything on consignment
You, a customer that means you ain't frontin'
Nothin' to lose, I make you know that you wanted me,
But don't push me, that's the wrong button to press
The world went in peace, so fuck meetin' the press
I'm just tryna stay stress-free, I'm tryna live life
And I can't do that, bein' ignorant or trifling
I don't like it
[Chorus]
Can I get a woop-woop to these niggas from all of my bitches?
Who don't love dough, they thinkin' evil
Me, myself, and I, is all I got in the end
That's what I found out
And it ain't no need to cry, I took a vow that from now on
I'ma be my own homie, keep control of my bankroll
And oh, no, hell, no, I won't let none of these niggas
Ride for me, find out for me
Live off of me, eat off of me
Why not? I'm a thug
But I can't keep losin' my funds, celibate with no loot
That's what I'm talkin' 'bout
Fuckin' you and any nigga tryna stop my bucks
Must be crazy
## O.J Simpson Lyrics
Sorry, no lyrics found
git clone https://github.com/<username>/jayz-ojsimpson-lyrics.git
.pip install -r requirements.txt
.jayz_ojsimpson_lyrics
module to use the functions.