LANGUAGE TRANSLATOR USING PYTHON

 LANGUAGE TRANSLATOR USING PYTHON


Source Code:-

# Required Module:- pip install translate

from translate import Translator

Text = input("Enter Your Text: ")

# fr = french
translator = Translator(to_lang="fr")

translation = translator.translate(Text)

print("Translated Text: "translation)

# OUTPUT:-
# Enter Your Text: hello
# Translated Text:  salut


Follow me on Instagram:- Python_with_Shubham



0 Comments