title: How do input more than one word for translation in Python?
body: <p>I'm trying to make a silly translator game as practice. I'm replacing "Ben" with "Idiot" but it only works when the only word I input is "Ben". If I input "Hello, Ben" then the console prints out a blank statement. I'm trying to get "Hello, Idiot". Or if I enter "Hi there, Ben!" I would want to get "Hi there Idiot!". If I input "Ben" then it converts to "Idiot" but only when the name by itself is entered.  </p>
  
  <p>I'm using Python 3 and am using function def translate(word): so maybe I'm over-complicating the process. </p>
  
  <pre><code>def translate(word):
  translation = ""
  if word == "Ben":
      translation = translation + "Idiot"
  
  return translation
  
  
  print(translate(input("Enter a phrase: ")))
  </code></pre>
  
  <p>I'm sorry if I explained all of this weird. Completely new to coding and using this website! Appreciate all of the help!</p>