Emoji Converter example using dictionalries!

 message=input(">")

words=message.split(' ')

emojis={

":)":":))",

":(":":(("

}

output=""

for word in words:

    output+=emojis.get(word,word)+" "

print(output)

Comments

Popular posts from this blog

Guess game!

Path for chromedriver