ONCE AGAIN i am being asked to do something i am not sure how to do. It was not covered in the video and now i need to do some extra stuff like 'append(val)' whatever that means.
my_list =  for i in my_list.append(val): print(i)
Chris FreemanTreehouse Moderator 63,109 Points
It is the
val reference that is causing the
# in evaluating the statement for i in my_list.append(val): # The reference my_list.append(val) # is evaluated first
val was defined, the append method does not return a value so the
for loop would not run. The correct form would be:
for i in my_list:
Post back if you need more help. Good luck!!!