input: Write a python function to calculate the average monthly temperature for a given city using the provided 'weatherdata.csv' file.
  assert round(avg_month_temp('New York'), 2) == 21.33
  assert round(avg_month_temp('Los Angeles'), 2) == 18.75
  assert round(avg_month_temp('Chicago'), 2) == 15.67
output: import csv
  
  def avg_month_temp(city):
      total_temp = 0
      count = 0
      
      with open('weatherdata.csv', mode='r') as file:
          reader = csv.DictReader(file)
          for row in reader:
              if row['City'] == city:
                  total_temp += float(row['Temperature'])
                  count += 1
      
      if count == 0:
          return 0
      
      average_temp = total_temp / count
      return average_temp