Python Python Sequences Sequence Operations Finding len, min, max

Manuel Canario
Manuel Canario
1,458 Points

how do I assign a new variable to the result of a len()

I assigned

length = len(student_gpas)

what am I doing wrong?

len_min_max.py
student_gpas = [4.0, 2.3, 3.5, 3.7, 3.9, 2.8, 1.5, 4.0]

1 Answer

Steven Parker
Steven Parker
207,981 Points

That code line is good, but it didn't register in the challenge because it did not show up in the formatted code block.

Re-enter it as a new 2nd line and try again.