Not a best pracitices for me, the name of first variable should not be named average, but sum... imho.
yeah, sure. If statment is true then it is not end of the word, this way you dont need to do else, becouse if first statement is false, then you should add . at the end. Try it.
in format() function u dont need else statment. And its clever.
Loading collection data...
Not a best pracitices for me, the name of first variable should not be named average, but sum... imho.
yeah, sure. If statment is true then it is not end of the word, this way you dont need to do else, becouse if first statement is false, then you should add . at the end. Try it.
in format() function u dont need else statment. And its clever.