title: Replacing some emoticons with emojis in python
body: <p>This is what my code currently looks like. I wanted to change the emoticons to emojis when the user inputs a sentence or word. How do I go by it?</p>
  <pre><code>def main():
      sentence = input(&quot;Input a Sentence: &quot;)
      convert(sentence)
      print(sentence)
  
  
  def convert():
      emo1 = &quot;:)&quot;
      emo2 = &quot;:(&quot;
      emo1.replace(&quot;:)&quot;, &quot;&quot;)
      emo2.replace(&quot;:(&quot;, &quot;&quot;)
  
  
  main()
  </code></pre>