For this Question: the user would input n first, which is the number of datapoints in the dataset, then he will enter the actual dataset consisting of n numbers, find the mode of those, there might NOT be a unique mode, so print the first element which is a possible mode as entered by user.
find the mean and median of the data too
Now an empirical relation exists in between mean, median and mode which is Mode =3(Median)−2(Mean)
find the mode from this method too,
and find (actual mode- mode from empirical formula) to check the difference and print it by rounding up to 2 decimal places.
hint - use statistics library for mean, median and mode5
6
6
7
8
9--0.6-, I have written this Solution Code: import statistics 
n = int(input())
inputs = []
for i in range(n):
    inp = input()

    inputs.append(int(inp))
mode = statistics.mode(inputs)
median = statistics.median(inputs)
mean = statistics.mean(inputs)
mode_e = 3*median - 2*mean
sol = mode-mode_e
print(round(sol,2)), In this Programming Language: Python, Now tell me if this Code is compilable or not?