title: Python3 reversing an inputed sentence
body: <p>I am trying to create a function that reverses a sentence that a user inputs but when I run the program I am not getting the sentence in reverse. Bellow is my code</p>
  
  <pre><code>sentence=input('Enter a sentence: ')
  
  def sentence_reverse(sentence):
      words=sentence.split()
      newsentence=words.reverse()
      return (newsentence)
  
  print(sentence_reverse(sentence))
  </code></pre>