input: Write a python function to generate a bar chart using matplotlib.
  assert generate_bar_chart([1, 2, 3, 4, 5]) is None  # This should display a bar chart with 5 bars
  assert generate_bar_chart([10, 20, 30, 40]) is None  # This should display a bar chart with 4 bars
  assert generate_bar_chart([5, 10, 15]) is None  # This should display a bar chart with 3 bars
output: def generate_bar_chart(data):
      import matplotlib.pyplot as plt
      
      plt.bar(range(len(data)), data)
      plt.show()