x = [4, 5, 2, 9, 0, 3, 9, 5, 2]
number = 0
item = 0

#Using a for loop to create a bar graph based on the array x.
for i in range (len(x)):
  i += 1
  bars = x[item]
  item += 1
  print(str(0 + number) + " : " + " = " * bars)
  number += 1 
