Skip to content

Commit 18439fd

Browse files
authored
added text translator program
don't forget to install pip install translate
1 parent 2daba64 commit 18439fd

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
## don't forget to install - pip install translate
2+
from translate import Translator
3+
translator= Translator(to_lang="hi")
4+
translation = translator.translate("Good Morning!")
5+
print(translation)

0 commit comments

Comments
 (0)