input: def translate_text(text: str, dest_lang: str) -> str:
      """
      Translate a given text from English to a specified destination language using Python.
      The function relies on the googletrans module which uses Google Translate.
      >>> translate_text("Hello, this is a sample text to translate.", "fr")
      'Bonjour, ceci est un texte d'exemple à traduire.'
      """
      from googletrans import Translator
      translator = Translator()
      translation = translator.translate(text, dest=dest_lang)
      return translation.text
output:     from googletrans import Translator
      translator = Translator()
      translation = translator.translate(text, dest=dest_lang)
      return translation.text