Advertisement
triclops200

Fun Dweek font thing

Jul 9th, 2013
272
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.34 KB | None | 0 0
  1. cmap = "ᗩ ᗷ ᑕ ᗞ ᕮ ᖴ G ᕼ I ᒍ K ᒪ ᙢ N 〇 ᖘ ᖗ ᖇ ᔕ T ᑌ ᐯ ᕫ ᙭ ᖻ ᙆ".split()
  2. st=""
  3. while True:
  4.     s = input("> ")
  5.     if s == "quit":
  6.         break
  7.     for word in s.lower().split(" "):
  8.         for x in word:
  9.             n = ord(x)-ord("a")
  10.             if n<0 or n>25:
  11.                 st += x
  12.             else:
  13.                 st += cmap[n]
  14.         st += "  "
  15.     print(st)
  16.     st = ""
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement