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?
def main():
sentence = input("Input a Sentence: ")
convert(sentence)
print(sentence)
def convert():
emo1 = ":)"
emo2 = ":("
emo1.replace(":)", "")
emo2.replace(":(", "")
main()
You need to add replace emoticons in sentence you sent to the function
convert():