Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære Challenge: Music Playlist Generator | Python if-elif-else Statement
Practice
Projects
Quizzes & Challenges
Quizzes
Challenges
/
Conditional Statements in Python Clone

bookChallenge: Music Playlist Generator

Opgave

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.

Løsning

Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 3. Kapitel 4
single

single

Spørg AI

expand

Spørg AI

ChatGPT

Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat

close

bookChallenge: Music Playlist Generator

Stryg for at vise menuen

Opgave

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.

Løsning

Switch to desktopSkift til skrivebord for at øve i den virkelige verdenFortsæt der, hvor du er, med en af nedenstående muligheder
Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 3. Kapitel 4
single

single

some-alt