input: 
  def translate_text_to_french(text: str) -> str:
      """ Translate the given English text to French using the googletrans library.
      >>> translate_text_to_french("Hello, this is a sample text to translate.")
      'Bonjour, ceci est un exemple de texte à traduire.'
      >>> translate_text_to_french("I love programming.")
      'J'aime programmer.'
      """
      # step 1: install the module 
      # pip install googletrans
  
      # step 2: import module
      from googletrans import Translator
  
      # step 3: create an object
      translator = Translator()
  
      # step 4: call the function and pass the text
      translation = translator.translate(text, dest='fr') 
  
      # step 5: return the translation 
      return translation.text
  
output:     # step 1: install the module 
      # pip install googletrans
  
      # step 2: import module
      from googletrans import Translator
  
      # step 3: create an object
      translator = Translator()
  
      # step 4: call the function and pass the text
      translation = translator.translate(text, dest='fr') 
  
      # step 5: return the translation 
      return translation.text