Skip to content

Instantly share code, notes, and snippets.

@DaraDDB1
Created February 8, 2018 14:43
Show Gist options
  • Save DaraDDB1/44fcf71ef0733ea7e6f8946db41711a3 to your computer and use it in GitHub Desktop.
Save DaraDDB1/44fcf71ef0733ea7e6f8946db41711a3 to your computer and use it in GitHub Desktop.
from time import sleep #lets the sleep option be used
import webplayer #lets the youtbe things open
print("Welcome to MoodyBops, a song generator depending on your mood!") #welcome
print("We have multiple moods you can choose from.")
print("Here is the list") #tells you there is a list
music=input("Please choose the mood you are feeling from this list: happy, sad, chill, motivated, dancy.") #the list
if music == "happy": #if your choice is happy, it will do the things below this line
print("Here is three of my favourite songs to listen to when I'm happy!")
sleep(1.5) #pauses for one and a half seconds
print("Basement Party by MAX") #prints this statement
https://www.youtube.com/watch?v=MVU2J1jetuk #link to youtube
sleep(2) #pauses the program for two seconds
print("Came Here for Love by Sigala") #prints this statement
https://www.youtube.com/watch?v=Uq8fE3kKIBk #youtube link
sleep(2) #pauses the program
print("She Looks So Perfect by 5 Seconds Of Summer") #prints this statement
https://www.youtube.com/watch?v=X2BYmmTI04I #link
sleep(2) #pauses the program
elif music == "sad":
print("Here are 3 songs I would recommend you to listen to!")
sleep(1.5)
print("deep the water by Lewis Watson") #prints the statement
https://www.youtube.com/watch?v=6HUOpYUsj2U #link
sleep(2)
print("What You Do by James Gillespie") #prints statement
https://www.youtube.com/watch?v=gt5ZjcBe8kM
sleep(2) #pauses the program
print("Same Drugs by Chance the Rapper") #prints
https://www.youtube.com/watch?v=be37-T72DNk #link
sleep(2) #pauses
elif music == "chill": #defines the option
print("I have 3 songs for you!") #prints
sleep(1.5) #pauses for one and a half seconds
print("Brew by Declan McKenna, this is super chill, you will love it!") #gives the song
sleep(2) #pauses fpr two seconds
print("Fine Line by Mabel and Not3s, I love this song!") #gives the song
sleep(2) #pauses the program
print("Half the World Away by Oasis, a classic!") #gives the song
sleep(2) #pauses
elif music == "motivated": #option
print("Here are three songs!") #prints this statement
sleep(1.5) #pauses for one and a half seconds
print("Seven Nation Army by The White Stripes") #song
sleep(2) #pause
print("Teenagers by My Chemical Romance") #song
sleep(2) #pause
print("What You Know by Two Door Cinema Club, this song is too good!") #song
sleep(2) #pause
elif music == "dancy": #gives the option
print("I HAVE THREE GREAT SONGS FOR YOUUU!!!") #says it has songs
sleep(1.5) #this pauses the code
print("17 by MK, IT IS AMAZING.") #song
sleep(2) #pause
print("Decline by RAYE, this is great to dance to!") #song
sleep(2) #pause
print("Lush Life by Zara Larson, old but it is still a great song.") #song
sleep(2) #pause
else:
print("Sorry, that wasnt an option :/// ")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment