Level
Find the error
-
my_list = []
-
for i in range(5):
-
  my_list(append(i))
-
return my_list

Appending to a List in Python

Review the code intended to append elements to a list. Identify the line with the syntax error in the append method. Correctly appending items to a list is crucial for list manipulations.