Python Python Collections (2016, retired 2019) Lists Combining Lists

Jodi Dyer
Jodi Dyer
8,649 Points

Create a list named best that has three items. list = bestlist bestlist = ["champgane", "rose", "big red wines"]

Create a list named best that has three items. list = bestlist bestlist = ["champagne", "rose", "big red wines"]

lists.py
list = "bestlist"
bestlist = ["champagne", "rose", "big red wines"]

2 Answers

Steven Parker
Steven Parker
171,375 Points

The instructions asked for "a list named best", but this code is creating one named "bestlist" instead.

Steven Parker
Steven Parker
171,375 Points

Jodi Dyer — Glad to help. You can mark a question solved by choosing a "best answer".
And happy coding!