input: 
  from typing import List
  
  def parse_csv(filename: str) -> None:
      """ Parses a CSV and generates a new CSV that adds the total number of rows, total 
      number of columns, and total amount of data for each attribute.
      >>> parse_csv('test.csv')
      (The new CSV file 'new_csv.csv' is generated with the following format:
      Rows,Columns,Data Totals
      number_of_rows,number_of_columns,[total_data_for_each_attribute])
      """
  
output:     
      with open(filename, 'r') as file:
          lines = file.readlines()
      
      rows = len(lines)
      columns = len(lines[0].strip().split(','))
      data_totals = [0] * columns
      
      for line in lines:
          values = list(map(float, line.strip().split(',')))
          for i in range(columns):
              data_totals[i] += values[i]
      
      with open('new_csv.csv', 'w') as new_file:
          new_file.write(f"Rows,Columns,Data Totals\n")
          new_file.write(f"{rows},{columns},{data_totals}\n")
  