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.
แบบฝึกหัดนี้เป็นส่วนหนึ่งของหลักสูตร
Introduction to Julia
แบบฝึกหัดเชิงโต้ตอบแบบลงมือทำ
ลองทำแบบฝึกหัดนี้โดยเติมโค้ดตัวอย่างนี้ให้สมบูรณ์
# Import the Statistics package
____
# Calculate median
m = ____.____(____)
println("Median of x is $m")