+ 1
Online translator
This program is an online translator: in the first line, it receives the number of words in the dictionary and in the next lines, the desired word and its translation, and in the last line, it receives a sentence from the user. And if there is no translation for a word it would return the original word, for example: Input: 2 hello salam goodbye khodahafez hello how are you goodbye Output: salam how are you khodahafez My code works properly but in the last line of output there is đĄđŒđ»đČ ... why??? https://code.sololearn.com/cZomlSxIus0c/?ref=app
2 Answers
+ 6
Line 21: replace print by return
+ 1
Oma Falk Thank u so muchââ