input: from typing import List
  
  import string
  
  def remove_punctuations(s: str) -> str:
      """Function to remove all the punctuations from a given string of sentences.
      >>> remove_punctuations("This is a sample string!")
      'This is a sample string'
      >>> remove_punctuations("Hello, World! Python is fun.")
      'Hello World Python is fun'
      """
      return s.translate(str.maketrans('', '', string.punctuation))
output:     return s.translate(str.maketrans('', '', string.punctuation))