So this looks like some kind of pseudocode that outlines a process for calculating the average of a series of numbers entered by the user. I.e. $x _{avg} =\frac{ 1 }{n } \sum_{i=1}^{n} x _{i}$ It looks like the series is 'n' numbers long and that is chosen by the user in: n = int(input ("enter the number input; ")) You also have a variable sumN that starts at 0. Then it looks like you are using some function called 'nCount in range' to keep track of how many numbers the user has entered (that function isn't defined here) but presumably while nCount is less than n you will stay within the 'for' structure prompting the user to enter numbers and adding them to sumN. When you leave the 'for' structure you define a new variable 'average' that gives the average of the series of numbers entered (see eqn.) and you print that average as well as sumN.