Python Python Collections Lists Creating lists

Lukas Johmann
Lukas Johmann
911 Points

I can't complete this challenge

Is this a bug? I am doing everything right I thought.

Challenge Task 1 of 1 This challenge is just meant as a refresher. Create a single new list variable named my_list. Put 3 numbers and 2 strings into it in whatever order you want. For the last member, though, add another list with 2 items in it.

lists.py
my_list = [2, 3, 4, "st", "to", ["sa", "sae"]]
Pierre ILYAMUKURU
Pierre ILYAMUKURU
2,365 Points

I run your code and are working correctly. Re-write again because looks good.

2 Answers

Luca James
Luca James
1,177 Points

It has to be a bug as I am getting the same thing.. If you look at my code I even tried to make a blank list and appending/extending but it still wont recognize my_list

Try this guys:

my_list = [11, 8, 9, 'a', 'b', [1, 2]]