Codecademy's Solution not working

I am doing an exercise in the Data Analyst course and the solution doesn’t seem to be working. It’s under the data transformation article when I press run on the solution page it says that
" min_max_normalize() takes 1 positional argument but 5 were given" How should I fix it.
def min_max_normalize(lst):

minimum = min(lst)

maximum = max(lst)

normalized =

for value in lst:

normalized_num = (value - minumum) / (maximum - minimum)

normalized.append(normalized_num)

return normalized

print(min_max_normalize(0, 25, 50, 75, 100))

should print [0.0, 0.25, 0.5, 0.75, 1.0]

print(min_max_normalize(10, 12, 14))

should print [0.0, 0.5, 1.0]

https://www.codecademy.com/paths/data-analyst/tracks/dacp-summary-statistics/modules/dacp-data-transformation/articles/data-transformation-centering-and-scaling

1 Like

nevermind I figured it out! Mistakes were put on purpose I’m guess they should have been in brackets for the print

1 Like