Issue with import and exception

Hi,

  1. Through finally keyword (exception handling) i want to check how many times user put wrong inputs.what is the procedure to check that?
  2. trying to use python translator but seems it is not working with google colab. what is the procedure to do that?
    link:
    https://pypi.org/project/translate/#modal-close

the keyword finally is used to execute a block of statements despite encountering an error in exception handling. The keyword except is to used to execute a particular block when encountering a problem which is perhaps what you want to do. Hope this helps!!

NO it can only possible with finally keyword.Can you share such code?
any idea about the 2nd question?

What’s the error you’re getting while trying to use translator?