Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Oppiskele Challenge: Music Playlist Generator | Python if-elif-else Statement
Conditional Statements in Python Clone

bookChallenge: Music Playlist Generator

Tehtävä

Swipe to start coding

Are you a music enthusiast? You will create a straightforward music playlist tailored to the user's mood.

Below is a dictionary categorizing various moods on a scale from 1 to 5, with 1 representing sadness and 5 representing excitement. The user will input their current mood, and our program will suggest a song accordingly.

Ratkaisu

Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 3. Luku 4
single

single

Kysy tekoälyä

expand

Kysy tekoälyä

ChatGPT

Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme

Suggested prompts:

Tiivistä tämä luku

Explain code

Explain why doesn't solve task

close

Awesome!

Completion rate improved to 5.88

bookChallenge: Music Playlist Generator

Pyyhkäise näyttääksesi valikon

Tehtävä

Swipe to start coding

Are you a music enthusiast? You will create a straightforward music playlist tailored to the user's mood.

Below is a dictionary categorizing various moods on a scale from 1 to 5, with 1 representing sadness and 5 representing excitement. The user will input their current mood, and our program will suggest a song accordingly.

Ratkaisu

Switch to desktopVaihda työpöytään todellista harjoitusta vartenJatka siitä, missä olet käyttämällä jotakin alla olevista vaihtoehdoista
Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 3. Luku 4
single

single

some-alt