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
Conditional Statements in Python Clone

Stryg for at vise menuen

book
Challenge: 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

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

Spørg AI

expand
ChatGPT

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

book
Challenge: 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

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
Switch to desktopSkift til skrivebord for at øve i den virkelige verdenFortsæt der, hvor du er, med en af nedenstående muligheder
Vi beklager, at noget gik galt. Hvad skete der?
some-alt