The beaches are always a place of attraction for people and we can always see a lot of tourists on the sea beaches. Mandvi sea beach is one of the beaches located in Gujarat, India. Generally this beach is not crowded, but in the evening we can see a bunch of people there. There were six windmills there which are not in working conditions now. But the leftover of these windmills gives a good look to the beach. So whenever you are travelling to Rann of Kutch, I would say that you must visit this beach and I'm assuring you'll not be disappointed.
CODE : pip install translate create a new script file eg. english in the same directory. from translate import Translator translator=Translator( to_lang = "hi" ) with open ( './english.txt' , 'r' ) as file2: text=file2.read() translation=translator.translate(text) print(translation) or another way jj= str ( input ( 'enter th english' )) from translate import Translator translator=Translator( to_lang = "hi" ) with open ( './english.txt' , 'w' ) as file2: file2.write( f'-- { jj } ' ) with open ( './english.txt' , 'r' ) as file2: text = file2.read() translation=translator.translate(text) print (translation) DEMO:
Good work 👍!!!
ReplyDelete