input: 
  from typing import List
  from math import floor
  
  def mean_median(arr: List[int]) -> (float, float):
      """ Given a list of integers, calculate and return the mean and median.
      >>> mean_median([10, 15, 20, 25, 30, 35])
      (22.5, 22.5)
      """
      arr_sum = 0 
      for i in range(len(arr)): 
          arr_sum += arr[i] 
      
      mean = arr_sum/len(arr) 
      
      arr = sorted(arr) 
      if len(arr) % 2 != 0: 
          median = arr[floor(len(arr)/2)] 
      else: 
          median = (arr[len(arr)//2] + arr[len(arr)//2 - 1]) / 2
      
      return mean, median
  
  mean, median = mean_median([10, 15, 20, 25, 30, 35]) 
  print("Mean =", mean) 
  print("Median =", median)
  
output:     
      arr_sum = 0 
      for i in range(len(arr)): 
          arr_sum += arr[i] 
      
      mean = arr_sum/len(arr) 
      
      arr = sorted(arr) 
      if len(arr) % 2 != 0: 
          median = arr[floor(len(arr)/2)] 
      else: 
          median = (arr[len(arr)//2] + arr[len(arr)//2 - 1]) / 2
      
      return mean, median
  