Get startedGet started for free

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.

This exercise is part of the course

Introduction to Julia

View Course

Hands-on interactive exercise

Have a go at this exercise by completing this sample code.

# Import the Statistics package
____

# Calculate median
m = ____.____(____)

println("Median of x is $m")
Edit and Run Code