Kodewick
Start learning →
Starter←→0 / 80

A bouquet to give

#005StarterFunctions3 min

The flower shop's bouquet() makes 3 stems wrapped in paper by default. A gift needs a ribbon instead, with the usual number of stems. Write gift_bouquet(flower): call bouquet and change only wrap to "ribbon", leaving count out.

Examples
gift_bouquet("roses")→'3 roses in ribbon'
gift_bouquet("tulips")→'3 tulips in ribbon'
main.py
def bouquet(flower, count=3, wrap="paper"):
    return str(count) + " " + flower + " in " + wrap


def gift_bouquet(flower):
    # your code here: call bouquet with wrap="ribbon" and return what it gives
    return ""
Ctrl + Enter runs too
Result

Run tries the examples. When they look right, Submit.