median of a list python

import statistics

lst = [1,3,6,13,27]
median_value = statistics.median(lst)

Here is what the above code is Doing:
1. We created a list of integers.
2. We imported the statistics module.
3. We created a variable called median_value and assigned it the value of the median of the list.
4. We printed the value of median_value.