Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database And Expert Systems Applications Dexa 2021 Workshops Biokdd Iwcfs Mlkgraphs Al Cares Protime Alsys 2021 Virtual Event September 27 30 2021 Proceedings

Authors: Gabriele Kotsis ,A Min Tjoa ,Ismail Khalil ,Bernhard Moser ,Atif Mashkoor ,Johannes Sametinger ,Anna Fensel ,Jorge Martinez-Gil ,Lukas Fischer

1st Edition

3030871002, 978-3030871000

More Books

Students also viewed these Databases questions