0

Can anyone help me make a language translator like this (but to take more options)

user1 = input("Write your command in English:\n") # to get user input print("\nThe command for" , user1 , "in Python is:\n") #to dispaly user input print(user1.replace("replace string name", "replace()",)) # display replace() method which is equal with replace string name #we have use replace() string method but we must use anything else #because we need more parametres to check

8th Mar 2020, 10:54 AM
Ardian Pjetri
Ardian Pjetri        - avatar
1 ответ
0
I have assumed that user writes replace string name
8th Mar 2020, 10:55 AM
Ardian Pjetri
Ardian Pjetri        - avatar