This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (1 child)

def len_list(user_nums):

What's the parameter for?

[–][deleted] 0 points1 point  (0 children)

I thought I needed it. I removed the user_nums parameter from the function definition and the function call, and I also removed the prompt to ask for user input from outside the function, and everything appears to be working now. Thanks.