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
1 Réponse
0
I have assumed that user writes replace string name