← Back to List

6841번: I Speak TXTMSG ↗

Solutions

Python 3
390 B | 384 chars
d = {
  "CU": "see you",
  ":-)": "I’m happy",
  ":-(": "I’m unhappy",
  ";-)": "wink",
  ":-P": "stick out my tongue",
  "(~.~)": "sleepy",
  "TA": "totally awesome",
  "CCC": "Canadian Computing Competition",
  "CUZ": "because",
  "TY": "thank-you",
  "YW": "you’re welcome",
  "TTYL": "talk to you later",
}

while 1:
  s = input()
  print(d.get(s, s))
  if s == 'TTYL':
    break