Write a function which takes a number and returns the corresponding ASCII char for that value.

Example: 

~~~if-not:java,racket
```
get_char(65) # => 'A'
```
~~~
~~~if:java
~~~
~~~if:racket
~~~

For ASCII table, you can refer to http://www.asciitable.com/

Difficulty: introductory

Starter code:

def get_char(c):
	

Solutions:
def get_char(c):
    return chr(c)

get_char=chr

def get_char(value):
    '''Return the ASCII char for a given value'''
    return chr(value)

get_char = lambda c: chr(c)

def get_char(num_of_char):
  return chr(num_of_char)

def get_char(c):
  c = chr(c)
  return c

def get_char(c: int) -> str:
    """ Get the corresponding ASCII char for given value. """
    return chr(c)

get_char = lambda c: chr(c)

# def get_char(c):
#   return chr(c)


import unittest


def get_char(c):
    return chr(c)
    
    
class TestGetChar(unittest.TestCase):
    def test_get_char_should_return_capital_a_when_given_c_is_65(self):
        self.assertEqual(get_char(65), 'A')


def get_char(c):
  string = chr(c)
  return string

def get_char(c):
  
  n = chr(c)
  
  return n

def get_char(c):
  # My code goes here ^_^
  return chr(c)

def get_char(c):
    print (chr(c))
    return chr(c)

def get_char(c):
    """Return the asci character corresponding to c"""
    return chr(c)

def get_char(c):
    ascii_char = chr(c)
    return ascii_char

def get_char(c):
  d=str(chr(c))
  return d

def get_char(c):
  # Your code goes here ^_^
  return chr(c) # chr predefined function that return number ascii to ordinary letter 
                # ord() is the opposite


def get_char(c):
  # Your code goes here ^_^
  key=chr(c)
  return key

def get_char(c: int):
  # Your code goes here ^_^
  return chr(c)

import string
def get_char(c):
  # Your code goes here ^_^
  return chr(c)

def get_char(c):
  # izi
  return chr(c)

def get_char(c):
  f = chr(c)
  return f

def get_char(lie_sheen_sober):

  return chr(lie_sheen_sober)

def get_char(c):
  # Your code goes here ^_^
  print(c, str(chr(c)))
  return str(chr(c))

def get_char(c):
  # Your code goes here ^_^
  return chr(c)

print(get_char(65))

def get_char(c):
  result = chr(c)
  return result

def get_char(c):
    a = str(chr(c))
    return a

def get_char(c):
    get_char = chr(c)  
    return get_char

def get_char(c):
  print(c)
  return chr(c)

get_char = lambda n: chr(n)

def get_char(c):
    return chr(c)
    # Zelf


def get_char(c):
    # c|:v
    return chr(c)

def get_char(c):
  t=chr(c)
  return t

def get_char(c):
    output = chr(c)
    return output

def get_char(c: int) -> str:
  return chr(c)

def get_char(c):
  ASCII='\x00\x01\x02\x03\x04\x05\x06\x07\x08\t\n\x0b\x0c\r\x0e\x0f\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f !"#$%&\'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\x7f\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xab\xac\xad\xae\xaf\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xeb\xec\xed\xee\xef\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff'
  return ASCII[c]

from builtins import chr as get_char

def get_char(c):
  return "{:c}".format(c)

def get_char(c):
  return '%c' % c

def get_char(c):
    '''
    Accepts decimal input
    returns extended ascii character representation of input
    '''
    return bytes.fromhex(hex(c)[2:]).decode(encoding="latin1")


def get_char(c):
  return '{0:{base}}'.format(c, base='c')

def get_char(ascii_value: int) -> str:
  
  return chr(ascii_value)

def get_char(c):
  # Your code goes here ^_^
  return str(chr(c))

def get_char(c):
    return [chr(i) for i in range(255)][c]

def get_char(c):
  return chr(ord(chr(c)))

def get_char(c):
    ascii = [chr(x) for x in range(0, 256)]
    return ascii[c]

def get_char(c):   
#def get_char(c):
    '''
    Accepts decimal input
    returns extended ascii character representation of input
    '''
    return bytes.fromhex(hex(c)[2:]).decode(encoding="latin1")

def get_char(c):
    
    myascii = {}
    myascii['32'] = ' '
    myascii['33'] = '!'
    myascii['34'] = '"'
    myascii['35'] = '#'
    myascii['36'] = '$'
    myascii['37'] = '%'
    myascii['38'] = '&'
    myascii['39'] = ''
    myascii['40'] = '('
    myascii['41'] = ')'
    myascii['42'] = '*'
    myascii['43'] = '+'
    myascii['44'] = ','
    myascii['45'] = '-'
    myascii['46'] = '.'
    myascii['47'] = '/'
    myascii['48'] = '0'
    myascii['49'] = '1'
    myascii['50'] = '2'
    myascii['51'] = '3'
    myascii['52'] = '4'
    myascii['53'] = '5'
    myascii['54'] = '6'
    myascii['55'] = '7'
    myascii['56'] = '8'
    myascii['57'] = '9'
    myascii['58'] = ':'
    myascii['59'] = ';'
    myascii['60'] = '<'
    myascii['61'] = '='
    myascii['62'] = '>'
    myascii['63'] = '?'
    myascii['64'] = '@'
    myascii['65'] = 'A'
    myascii['66'] = 'B'
    myascii['67'] = 'C'
    myascii['68'] = 'D'
    myascii['69'] = 'E'
    myascii['70'] = 'F'
    myascii['71'] = 'G'
    myascii['72'] = 'H'
    myascii['73'] = 'I'
    myascii['74'] = 'J'
    myascii['75'] = 'K'
    myascii['76'] = 'L'
    myascii['77'] = 'M'
    myascii['78'] = 'N'
    myascii['79'] = 'O'
    myascii['80'] = 'P'
    myascii['81'] = 'Q'
    myascii['82'] = 'R'
    myascii['83'] = 'S'
    myascii['84'] = 'T'
    myascii['85'] = 'U'
    myascii['86'] = 'V'
    myascii['87'] = 'W'
    myascii['88'] = 'X'
    myascii['89'] = 'Y'
    myascii['90'] = 'Z'
    myascii['91'] = '['
    myascii['92'] = '\\'
    myascii['93'] = ']'
    myascii['94'] = '^'
    myascii['95'] = '_'
    myascii['96'] = '`'
    myascii['97'] = 'a'
    myascii['98'] = 'b'
    myascii['99'] = 'c'
    myascii['100'] = 'd'
    myascii['101'] = 'e'
    myascii['102'] = 'f'
    myascii['103'] = 'g'
    myascii['104'] = 'h'
    myascii['105'] = 'i'
    myascii['106'] = 'j'
    myascii['107'] = 'k'
    myascii['108'] = 'l'
    myascii['109'] = 'm'
    myascii['110'] = 'n'
    myascii['111'] = 'o'
    myascii['112'] = 'p'
    myascii['113'] = 'q'
    myascii['114'] = 'r'
    myascii['115'] = 's'
    myascii['116'] = 't'
    myascii['117'] = 'u'
    myascii['118'] = 'v'
    myascii['119'] = 'w'
    myascii['120'] = 'x'
    myascii['121'] = 'y'
    myascii['122'] = 'z'
    myascii['123'] = '{'
    myascii['124'] = '|'
    myascii['125'] = '}'
    myascii['126'] = '~'
    
    if c in myascii:
        out = myascii[str(c)]
    else:
        out = chr(c)
    return out

def get_char(c):
  ascii = '\x00\x01\x02\x03\x04\x05\x06\x07\x08\t\n\x0b\x0c\r\x0e\x0f\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f !"#$%&\'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\x7f\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0¡¢£¤¥¦§¨©ª«¬\xad®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ' 
  return ascii[c]

# ascii = [chr(i) for i in range(256)]
ascii = ['\x00', '\x01', '\x02', '\x03', '\x04', '\x05', '\x06', '\x07', '\x08', '\t', '\n', '\x0b', '\x0c', '\r', '\x0e', '\x0f', '\x10', '\x11', '\x12', '\x13', '\x14', '\x15', '\x16', '\x17', '\x18', '\x19', '\x1a', '\x1b', '\x1c', '\x1d', '\x1e', '\x1f', ' ', '!', '"', '#', '$', '%', '&', "'", '(', ')', '*', '+', ',', '-', '.', '/', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', ':', ';', '<', '=', '>', '?', '@', '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', '[', '\\', ']', '^', '_', '`', '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', '{', '|', '}', '~', '\x7f', '\x80', '\x81', '\x82', '\x83', '\x84', '\x85', '\x86', '\x87', '\x88', '\x89', '\x8a', '\x8b', '\x8c', '\x8d', '\x8e', '\x8f', '\x90', '\x91', '\x92', '\x93', '\x94', '\x95', '\x96', '\x97', '\x98', '\x99', '\x9a', '\x9b', '\x9c', '\x9d', '\x9e', '\x9f', '\xa0', '¡', '¢', '£', '¤', '¥', '¦', '§', '¨', '©', 'ª', '«', '¬', '\xad', '®', '¯', '°', '±', '²', '³', '´', 'µ', '¶', '·', '¸', '¹', 'º', '»', '¼', '½', '¾', '¿', 'À', 'Á', 'Â', 'Ã', 'Ä', 'Å', 'Æ', 'Ç', 'È', 'É', 'Ê', 'Ë', 'Ì', 'Í', 'Î', 'Ï', 'Ð', 'Ñ', 'Ò', 'Ó', 'Ô', 'Õ', 'Ö', '×', 'Ø', 'Ù', 'Ú', 'Û', 'Ü', 'Ý', 'Þ', 'ß', 'à', 'á', 'â', 'ã', 'ä', 'å', 'æ', 'ç', 'è', 'é', 'ê', 'ë', 'ì', 'í', 'î', 'ï', 'ð', 'ñ', 'ò', 'ó', 'ô', 'õ', 'ö', '÷', 'ø', 'ù', 'ú', 'û', 'ü', 'ý', 'þ', 'ÿ']

def get_char(c):
  return ascii[c] if c in range(len(ascii)) else ''

def get_char(c):
    # chr gives the character corresponding with the ASCII value
    return chr(c)

def get_char(c):
    print(c)
    try:
        asciiDict = {i: chr(i) for i in range(256)}
        return asciiDict[c]
    except:
        return None

def get_char(c):
    """
        Returns the corresponding ASCII char for 'c'.
    """
    return chr(c)

def get_char(c):
    res = chr(c)
    return  res

def get_char(c):
  # Your code goes here ^_^
    g = chr(c)
    return g

def get_char(c):
  return chr(c)
#Completed by Ammar on 5/8/2019 at 02:19AM.


def get_char(c):
  # Your code goes here ^_^
  if c < 0 or c > 255:
      print('ASCII out of range')
      return -1      
  return chr(c)

def get_char(c):
  ascii_code = chr(c)
  return ascii_code

def get_char(c):
  return chr(int(c))

def get_char(c):
  # Your code goes here ^_^
  return chr(c)
  return

def get_char(c):
  a=chr(c)
  return a

def get_char(c):
    b = chr(c)
    return b

def get_char(c):
  d=chr(c)
  return(d)

def get_char(num):
  # Your code goes here ^_^
  return chr(num)

def get_char(value):
    return chr(value)

def get_char(c):
  
  return chr(c)#I solved this Kata on 6/27/2019 01:59 AM #hussamSindhuCodingDiary

get_char = chr # Well, that was easy!

def get_char(ascii):
    return chr(ascii)

get_char = lambda i: chr(i)


def get_char(c):
  x = chr(c)
  return x

def get_char(c):
  if c:
      return chr(c)

def get_char(c):
      answer = str(chr(c))
      return answer

def get_char(c):
  letter = chr(c)
  return letter

def get_char(c):
  return chr(c)
get_char(65)

def get_char(c):
    character = chr(c)
    return character

def get_char(n):
    return chr(n)

get_char = lambda x: chr(x)

import html

def get_char(c):
  # Your code goes here ^_^
  return(chr(c))

def get_char(c):
  ASCII=chr(c)
  return ASCII

def get_char(c):
  char = chr(c)
  return char