CommencerCommencer gratuitement

Importing packages

Utilizing external packages will make you a more effective programmer. In this exercise, you will import and use the Statistics package in two different ways.

An array of data named x, is available in your environment.

Cet exercice fait partie du cours

Introduction to Julia

Afficher le cours

Exercice interactif pratique

Essayez cet exercice en complétant cet exemple de code.

# Import the Statistics package
____

# Calculate median
m = ____.____(____)

println("Median of x is $m")
Modifier et exécuter le code