Assigment question in python

write a function called create_bar_plot that takes two arguments, 1) a matplotlib Axes object and 2) a dictionary. The function should call the bar method on the Axes object with the relevant arguments to make it work. Remember to convert the values from strings to numbers before plotting (and note that Python cannot deal with the thousands separator (comma) when converting strings to floating point numbers)

I have a dictionary of data that looks like this:

{'Road': '2,910', 'Rail': '930', 'Water': '5,540', 'Air': '15'}