Python Python Sequences Sequence Iteration Iterating over Ranges

Jason Widjaja
Jason Widjaja
7,904 Points

idk what this code is asking

i dont know the meaning of the question pls help
my_list = []
for i in range(10):

1 Answer

Steven Parker
Steven Parker
205,354 Points

The instructions say "The body of the for loop should append the current value to the provided list called my_list.", so you know you will need to use "my_list" in the function.

They also give you this helpful hint "To append a value to a list, use the syntax my_list.append(val)."