input: Write a function to translate text from English to French using googletrans library.
  assert translate_to_french('Hello, World!') == 'Bonjour le monde!'
  assert translate_to_french('How are you?') == 'Comment ça va?'
  assert translate_to_french('Good night') == 'Bonne nuit'
output: def translate_to_french(text):
      from googletrans import Translator
      translator = Translator()
      translation = translator.translate(text, src='en', dest='fr')
      return translation.text