Cinema for Margot
Swipe to start coding
Margot can't decide which cinema she should visit today. There are three criteria for the choice (in order of importance):
- number of different movies in the cinema
- average rating of the movies in the cinema
- number of different genres in the cinema
Help Margot to make a choice: create a rating of cinemas based on these criteria. Print the cinema label as cinema
and then 3 columns of criteria's values: c1
, c2
, and c3
. Order rows by these criteria in order of importance.
Løsning
Tak for dine kommentarer!
single
Spørg AI
Spørg AI
Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat
Opsummér dette kapitel
Explain code
Explain why doesn't solve task
Awesome!
Completion rate improved to 4.55
Cinema for Margot
Stryg for at vise menuen
Swipe to start coding
Margot can't decide which cinema she should visit today. There are three criteria for the choice (in order of importance):
- number of different movies in the cinema
- average rating of the movies in the cinema
- number of different genres in the cinema
Help Margot to make a choice: create a rating of cinemas based on these criteria. Print the cinema label as cinema
and then 3 columns of criteria's values: c1
, c2
, and c3
. Order rows by these criteria in order of importance.
Løsning
Tak for dine kommentarer!
Awesome!
Completion rate improved to 4.55single