Re-arrange the code

Report a typo

Put the following lines of code in the right order so that they result in a Bubble chart. Mind that the line with the items variable should follow the library import statement.

Put the items in the correct order
avg_price = [14, 48, 12, 37, 20]
items = range(1, 6)
avg_package = [price * 50 for price in avg_price]
import matplotlib.pyplot as plt
plt.scatter(items, avg_price, s=avg_package)
plt.show()
___

Create a free account to access the full topic