What's wrong with this code?

len() is not being used with a list valuelen() can't be used on an empty listThere's nothing wrong with the code

len() is not being used with a list value.