Python public recipes
The code calculates the average name in the list of user input and stores it in the variable 'averageName'. The code then calculates the sum of all the user input and divides it by the length of the list of user input.
Shortcut: list.average
averageName = sum(listName) / len(listName)