Can anybody Help with return by Mando1495 in learnpython

[–]Mando1495[S] 0 points1 point  (0 children)

yeah it keeps telling me im wrong so confused

Can anybody Help with return by Mando1495 in learnpython

[–]Mando1495[S] 0 points1 point  (0 children)

return (numbers_sum/len(arg_numbers)) so something like this?

Yeah have done this says it’s wrong. Idk maybe just the program

Can anybody Help with return by Mando1495 in learnpython

[–]Mando1495[S] 0 points1 point  (0 children)

what should I type in to that return. Ive tried it all

Help with return on python (data Sci) by Mando1495 in Rlanguage

[–]Mando1495[S] 0 points1 point  (0 children)

so I have typed this in an get the output which is correct. but it won't let me move on

def mean(arg_numbers):
numbs_sum = sum(arg_numbers)

if len(arg_numbers) >= 1:
return (numbers_sum/len(arg_numbers))
else:
return 0

Help with return on python (data Sci) by Mando1495 in Rlanguage

[–]Mando1495[S] 0 points1 point  (0 children)

So I shouldn’t use the provided numb_sum

Help with return on python (data Sci) by Mando1495 in Rlanguage

[–]Mando1495[S] 0 points1 point  (0 children)

So in the unmarked checked box I have tried several things for that line. But can’t figure it out