# Daily Challenge #82

Hello everyone, this is the first Daily Challenge I made, so too easy for everyone, This daily challenge is about Average Number. Today you have to make a procedure with a random amount of inputs, which will get the average number of all numbers given in the inputs.

You will make a value returning procedure. Your procedure should work for every amount of input numbers, not only for the example inputs given here. The procedure will have the random number of inputs. Procedure values will be in list
Example:-

NOTE: No extensions will be allowed, only inbuilt components are allowed
Anyone who does this in smallest amount of blocks, his post will be the solution of this challenge
I thing you liked this daily challenge

4 Likes

You shouldâ€™ve also include a input which tells how many inputs there are.
NOTE: this number can be the amount with this inout itself or without.

Can you provide an example input & output?

Thatâ€™s what I said to you earlier, @rizu!

This is not necessary i think. You can easily get this number with a block inside the procedure

Well, I donâ€™t think so. How would you do it if you didnâ€™t know?

length of list?

1 Like

Yes, but if the inputs are not in a list?

Butâ€¦

1 Like

I agree

Use length of list block to get number of inputs/items.
@Mateja posted it before me

P.S. we all know itâ€™s quite easy but lets see who solves it using least blocks

1 Like

It says that it must be a list

1 Like

Ok, letâ€™s leave it here. I first thought the inputs were not in a list, so thatâ€™s why I was asking.

Then, remove text and place a new image! ok if everyone says that

Please. Iâ€™m already done, just want to make sure I actually understood the challenge right

Off-topic

Well, I am like

Summary

foruteene blocsk

I did it this way. It is also a list.

Solution

Oh no @Mateja was faster

13 blocks me too

?

Sorry, this is a mistake.
EDITED.