def top_quartile_prices(prices):
prices.sort()
n = int( len(prices ) / 4 )
top_list = []
for i in range(len(prices) - 1, len(prices) - n - 1, -1):
top_list.append(prices[i])
top_list.sort()
prices = ['16.13', '32.2', '11.65', '39', '13.83', '25.33', '4.99', '13.1', '150', '37.81', '4.81', '4', '32.08',
'12.66', '19.54', '48.52', '65.92', '18.2', '13.09', '19.32', '7.63', '2.23', '116.12', '3.66', '73.45',
'54.71', '80.07', '15.99', '30.88', '10.91', '87.7', '6.34', '5.36', '20.66', '62.05', '88.98', '4.3',
'63.42', '3.89', '34.01', '28.42', '4.69', '15.3', '55.22', '43.48', '11.73', '167.05', '11.17', '18.84',
'44.31', '19.38', '29.38', '21.84', '57.59', '41.42', '23.91', '145.28', '14.76', '75.5', '2.32',
'112.19', '38.87', '55.61', '13.35', '27.4', '6.49', '40.94', '8.66', '6.59', '45.73', '34.53', '8.47',
'71.03', '108.39', '37.06']
top_quartile_prices(prices)
print('Top top quartile prices are :', top_quartile_prices(prices))
my function won't print the top quartile