input: Write a python function to clean the given text by removing punctuation, trimming whitespace, and preserving the cases as is.
  assert text_cleaned("This is the text for processing!\nSome punctuation must be removed.\nLets Trim the whitespace too.\nPlease preserve the cases as is.") == "This is the text for processing Some punctuation must be removed Lets Trim the whitespace too Please preserve the cases as is"
  assert text_cleaned("Hello, World!!!  \n Python is fun.\n Let's code.") == "Hello World Python is fun Lets code"
  assert text_cleaned("   Clean ME!    \n Punctuation, be GONE.\n") == "Clean ME Punctuation be GONE"
output: import string
  
  def text_cleaned(text):
      # Remove punctuation
      text_no_punctuation = text.translate(str.maketrans("", "", string.punctuation))
      
      # Split into lines and trim whitespace
      lines = [line.strip() for line in text_no_punctuation.split('\n')]
      
      # Join lines with spaces
      cleaned_text = ' '.join(lines)
      
      return cleaned_text