You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

76 lines
1.4 KiB
Python

# takes input and makes it a string
string = input()
lst = []
d = {
'a': 'a',
'b': 'b',
'c': 'ts',
'd': 'd',
'e': 'e',
'f': 'f',
'g': 'g',
'h': 'h',
'i': 'i',
'k': 'k',
'l': 'l',
'm': 'm',
'n': 'n',
'o': 'o',
'p': 'p',
'q': 'ya',
'r': 'r',
's': 's',
't': 't',
'u': 'u',
'v': 'dzh',
'w': 'v',
'y': 'y',
'z': 'zh',
'`': 'ch',
']': 'sht',
'[': 'sh',
'|': 'yu',
}
e = {
'a': '📇',
'b': '🚝',
'c': '🚱',
'd': '🚯',
'e': '🛂',
'f': '🚞',
'g': '🚠',
'h': '🫃',
'i': '🪸',
'j': '🥟',
'k': '🧔‍♀️',
'l': '❤️‍🔥',
'm': '🉑',
'n': '🤡',
'o': '🔫',
'p': '⚰️',
'q': '🔣',
'r': '🤖',
's': '🦞',
't': '🛴',
'u': '🍶',
'v': '🪕',
'w': '📟',
'x': '🪅',
'y': '📫',
'z': '🥌',
'`': '🏵️',
']': '༎ຶ‿༎ຶ )',
'[': 'ଘ( ິ•ᆺ⃘• )ິଓ',
'|': '╭∩╮(ಠ۝ಠ)╭∩╮',
}
# s = letter
# separates the string into letters
for letter in string:
lst.append(letter)
# prints the list
# print(lst)
# prints the header of table
print('U BIN HX DC CY EM')
print(letter, format(ord(letter), '08b'), format(ord(letter), '02x'), ord(letter), d[letter], e[letter])