print st dev median med median data med variance data listing statistics functions in python [end of exampleimportantdo not name your file "statistics pysince the import will be confused and throw the errors of the library not existing and the mean function not existing you can also use the numpy library numpy is the fundamental package for scientific computing with python here you find an overview of the numpy libraryexample statistics using the numpy library below you find some examples how to use some of the statistics functions in numpy im po rt numpy np data #mean average np mean data ( standard np data median med np median data med minimum value minv np min data minv maxumum value maxv np maxdata maxv listing statistics using the numpy library