sum(mylist) / len(mylist)
      

      Python language logo
      Get average of a list

      Python public recipes

      Function to get average of a list

      Shortcut: list.average.function

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.