Print sorbet flavors
Created on Dec. 25, 2016 by Julien Palard
You're working for a restaurant and they're asking you to generate the sorbet menu.
Provide a script printing every possible sorbet duos from a given list of flavors.
Don't print recipes with twice the same flavor (no "Chocolate, Chocolate"), and don't print twice the same recipe (if you print "Vanilla, Chocolate", don't print "Chocolate, Vanilla", or vice-versa).
The flavors are:
1 2 3 4 5 6 7 8 9 |
|
Print one duo per line, and separate flavors by comas, so your output should look like:
1 2 3 4 5 6 7 8 |
|
There's no corrections yet, hit the `Submit` button to send your code to the correction bot.
Keyboard shortcuts:
- Ctrl-Enter: Send your code to the correction bot.
- Escape: Get back to the instructions tab.