Skip to content

Instantly share code, notes, and snippets.

@15nmcgoldrick
Last active February 8, 2018 15:25
Show Gist options
  • Save 15nmcgoldrick/5bbeb88113f1c38fc358ab3e919c3f9d to your computer and use it in GitHub Desktop.
Save 15nmcgoldrick/5bbeb88113f1c38fc358ab3e919c3f9d to your computer and use it in GitHub Desktop.
from time import sleep #allows code to take breaks
print("this programme sugests songs for you depending on what mood you are in") #the user sees the sentence in the quotes
mood=input("please select an emotion that you are feeling to recieve your song recomendations("happy, sad, in love, excited, motivated, calm")
if mood == "happy": #programme gives song suggestions for people that are happy
print("“Happy” by Pharrell Williams")
sleep(2) #alows code to stop for two seconds and then continue
print("“Don't Stop Believing” by Journey")
sleep(2) #alows code to stop for two seconds and then continue
print("“Hey Ya!” by OutKast")
elif mood == "sad": #programme gives song suggestions for people that are sad
print("Fix You - Coldplay")
sleep(2) #alows code to stop for two seconds and then continue
print("Medicine - the 1975")
sleep(2) #alows code to stop for two seconds and then continue
print("For What Its Worth - Liam Gallagher")
elif mood == "in love": #programme gives song suggestions for people that are in love
print(" “Can’t Help Falling in Love,” Elvis Presley")
sleep(2) #alows code to stop for two seconds and then continue
print("“Make You Feel My Love,” Adele")
sleep(2) #alows code to stop for two seconds and then continue
print("“I Will Always Love You,” Whitney Houston")
elif mood == "excited": #programme gives song suggestions for people that are excited
print("Beyoncé — "Love on Top"")
sleep(2) #alows code to stop for two seconds and then continue
print(" Queen — "Don't Stop Me Now"")
sleep(2) #alows code to stop for two seconds and then continue
print("Michael Jackson — "P.Y.T."")
elif mood == "motivated": #programme gives song suggestions for people that are motivated
print("Ain’t No Mountain High Enough – Marvin Gaye & Tammi Terrell")
sleep(2) #alows code to stop for two seconds and then continue
print("It’s My Life – Bon Jovi")
sleep(2) #alows code to stop for two seconds and then continue
print("We are the Champions – Queen")
elif mood == "calm": #programme gives song suggestions for people that are calm
print("Higher Love- James Vincent McMorrow")
sleep(2) #alows code to stop for two seconds and then continue
print("If I Believe You- The 1975")
sleep(2) #alows code to stop for two seconds and then continue
print("Hallelujah- Jason Castro’s cover")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment