Python: Average Of List Of Numbers – Without Imports [One-Liner]
How do you calculate the simple average of a list of numbers in Python, without needing to import any libraries? Unfortunately, there’s no native average or avg function in Python to easily calculate the average of a list containing just numbers: To calculate the average of a list of numbers in Python, use the sum …