input: 
  from string import punctuation
  
  def remove_punctuations(s: str) -> str:
      """Remove all punctuations from the given string.
      
      >>> remove_punctuations("This is a sample string!")
      'This is a sample string'
      """
      return s.translate(str.maketrans('', '', punctuation))
  
output:     return s.translate(str.maketrans('', '', punctuation))