Timothy MaycockCourses Plus Student 3,346 Points
My code passes the check yet when I run it through VSC it returns NONE as the values. Tried googling it to understand why this happens but couldn't get a good answer. Any help in understanding this would be greatly appreciated.
my_list =  for i in range(10): print(my_list.append(i))
Jennifer NordellTreehouse Teacher
Hi there, Timothy Maycock! The code challenge itself doesn't ask you to
.append method. That method adds an item to a list, but it has a
return type of
But if you modified what and where you are printing, then your results would be wildly different.
my_list =  for i in range(10): my_list.append(i) print(my_list)
Hope this helps!