+ 4

Challenge!

Make a function when i type happy then happy smiley appear, sad for sad smiley, i m love with you for heart smiley, laugh for laugh smiley and your smileys?

18th Jan 2018, 11:03 AM
Kunal Kumar
Kunal Kumar - avatar
3 odpowiedzi
+ 6
I think I went a little overboard, but I had way too much fun doing this, although it is not finished yet: https://code.sololearn.com/cZ98ez2nqiR9/?ref=app
18th Jan 2018, 5:22 PM
Shadow
Shadow - avatar
+ 2
sm={"happy":":-)","sad":":-("} print(sm["happy"])
18th Jan 2018, 11:30 AM
VcC
VcC - avatar
+ 2
post the code
18th Jan 2018, 11:32 AM
Kunal Kumar
Kunal Kumar - avatar