Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Kaomoji, which means face character in Japanese, is the Japanese emoticon style. Unlike normal emoticons, Kaomoji are written horizontally and are made up of Japanese
Kaomoji, which means face character in Japanese, is the Japanese emoticon style. Unlike normal emoticons, Kaomoji are written horizontally and are made up of Japanese characters as well as punctuation, like this cat: (=^ ). print (msg.replace( You have decided to use Kaomoji for your messages instead of standard emoticons. Since you are used to writing standard emoticons, you decided to write a program to convert them to Kaomoji. Write a program that will read in your message and convert the emoticons in your message to Kaomoji as per the conversion table below: Submissions Output Emoticon Kaomojl Traceback (most recent call last) A_A) File "program,py", line 2, in print (msg. replace_)')) TypeError: replace() takes at least 2 arguments (1 given) 0.0)! Your program should work like this: Enter message: NCSS Challenge is awesome.) NCSS Challenge is awesome. _)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started