i am building a translator that translates user input to french using python. I am however encountering a challenge where my goslate function does not catch user input and translate it. I will appreciate your help.
import goslate
gs = goslate.Goslate()
text = input("please input the word you would like translated:\n")
gs.translate(text,'fr')