When provided with a number between 0-9, return it in words.

Input :: 1

Output :: "One".

If your language supports it, try using a switch statement.

Difficulty: introductory

Starter code:

def switch_it_up(number):
	

Solutions:
def switch_it_up(n):
    return ['Zero','One','Two','Three','Four','Five','Six','Seven','Eight','Nine'][n]

def switch_it_up(number):
    number_converter={0:"Zero",1:"One",2:"Two",3:"Three",4:"Four",5:"Five",6:"Six",7:"Seven",8:"Eight",9:"Nine"}
    return number_converter[number]

def switch_it_up(number):
    dict = {
    1: "One",
    2: "Two",
    3: "Three",
    4: "Four",
    5: "Five",
    6: "Six",
    7: "Seven",
    8: "Eight",
    9: "Nine",
    0: "Zero"}
    
    return dict.get(number)

def switch_it_up(number):
    return ["Zero", "One", "Two", "Three", "Four", "Five", "Six", "Seven", "Eight", "Nine"][number]

def switch_it_up(number):
    if number is 0: return "Zero"
    if number is 1: return "One"
    if number is 2: return "Two"
    if number is 3: return "Three"
    if number is 4: return "Four"
    if number is 5: return "Five"
    if number is 6: return "Six"
    if number is 7: return "Seven"
    if number is 8: return "Eight"
    if number is 9: return "Nine"

def switch_it_up(number):
    return 'Zero One Two Three Four Five Six Seven Eight Nine'.split()[number]

def switch_it_up(k):
    return['Zero', 'One', 'Two', 'Three', 'Four', 'Five', 'Six', 'Seven', 'Eight', 'Nine'][k]

def switch_it_up(number):
    return {'0' : "Zero",
    '1' : "One",
    '2' : "Two",
    '3' : "Three",
    '4' : "Four",
    '5' : "Five",
    '6' : "Six",
    '7' : "Seven",
    '8' : "Eight",
    '9' : "Nine"}[str(number)]

def switch_it_up(n):
    return ['Zero', 'One', 'Two', 'Three', 'Four', 'Five', 'Six', 'Seven', 'Eight', 'Nine'][n]
    
# switch_it_up = lambda n: ['Zero', 'One', 'Two', 'Three', 'Four', 'Five', 'Six', 'Seven', 'Eight', 'Nine'][n]     


def switch_it_up(number):
    days = ["Zero", "One", "Two", "Three", "Four", "Five", "Six", "Seven", "Eight", "Nine"]
    return days[number]

def switch_it_up(n):
    return {0:"Zero",1:"One",2:"Two",3:"Three",4:"Four",5:"Five",6:"Six",7:"Seven",8:"Eight",9:"Nine"}.get(n)

def switch_it_up(n):
    numbers = ['Zero', 'One', 'Two', 'Three', 'Four', 'Five',
               'Six', 'Seven', 'Eight', 'Nine']
    return numbers[n]

switch_it_up=lambda n:['Zero','One','Two','Three','Four','Five','Six','Seven','Eight','Nine'][n]

def switch_it_up(number):
    return {0: 'Zero', 1: 'One', 2: 'Two', 3: 'Three', 4: 'Four', 5: 'Five',
            6: 'Six', 7: 'Seven', 8: 'Eight', 9: 'Nine'}.get(number)

switch_it_up = lambda n:'ZOTTFFSSENenwhoiieiireoruvxvgno  ere ehe   e   nt '[n::10].strip()

def switch_it_up(number):
    l = ['Zero','One','Two','Three','Four','Five','Six','Seven','Eight','Nine']
    return ''.join(l[i] for i in range(10) if number == i)

switch_it_up = {0:"Zero", 1:"One", 2:"Two", 3:"Three", 4:"Four", 5:"Five", 6:"Six", 7:"Seven", 8:"Eight", 9:"Nine"}.get

def switch_it_up(number):
    return "Zero One Two Three Four Five Six Seven Eight Nine Ten".split()[number]

def switch_it_up(number):
    #your code here
    d = ['zero','one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine']
    return d[number].capitalize()

def switch_it_up(number):
    word = ["Zero", "One", "Two", "Three", "Four", "Five", "Six", "Seven", "Eight", "Nine"]
    return word[number]

def switch_it_up(number):
    return __import__('unicodedata').name(str(number)).title()[6:]

def switch_it_up(number):
    return {
    1:'One',
    2:'Two',
    3:'Three',
    4:'Four',
    5:'Five',
    6:'Six',
    7:'Seven',
    8:'Eight',
    9:'Nine'
}.get(number, 'Zero')

def switch_it_up(number):
    switch={
        0:'Zero',
        1:'One',
        2:'Two',
        3:'Three',
        4:'Four',
        5:'Five',
        6:'Six',
        7:'Seven',
        8:'Eight',
        9:'Nine'
    }
    return switch.get(number,"Number must be >= 0 and < 10")

def switch_it_up(number):
    return "zero one two three four five six seven eight nine".title().split()[number]

def switch_it_up(number):
  dict_ = {0: 'Zero', 1: 'One', 2: 'Two' , 3: 'Three' , 4: 'Four' , 5: 'Five' , 6: 'Six' , 7: 'Seven' , 8: 'Eight' , 9: 'Nine'}
  return dict_.get(number, 'Not Found')

def switch_it_up(number):
    return ['Zero', 'One', 'Two', 'Three', 'Four', 'Five', 'Six', 'Seven', 'Eight', 'Nine'][number] if 0 <= number < 10 else 'Hæ?'

switch_it_up = ('Zero', 'One', 'Two', 'Three', 'Four', 'Five', 'Six', 'Seven', 'Eight', 'Nine').__getitem__

def switch_it_up(number):
    import unicodedata
    return unicodedata.name(str(number)).split(None)[1].title()

def switch_it_up(n):
    
    def zero():
        return 'Zero'
        
    def one():
        return 'One'
        
    def two():
        return 'Two'
        
    def three():
        return 'Three'
        
    def four():
        return 'Four'
        
    def five():
        return 'Five'
        
    def six():
        return 'Six'
        
    def seven():
        return 'Seven'
        
    def eight():
        return 'Eight'
        
    def nine():
        return 'Nine'
        
    options = {
        None: zero,
        0: zero,
        1: one,
        2: two,
        3: three,
        4: four,
        5: five,
        6: six,
        7: seven,
        8: eight,
        9: nine,
    }
    
    return options[n]()

words = {
   0 : 'Zero',
   2 : 'One',
   2 : 'Two',
   3 : 'Three',
   4 : 'Four',
   5 : 'Five',
   6 : 'Six',
   7 : 'Seven',
   8 : 'Eight',
   9 : 'Nine',

}
def switch_it_up(number):
    return words.get(number, 'One')

def switch_it_up(number):
    s = {1:'One', 2:'Two', 3:'Three', 4:'Four', 5:'Five', 6:'Six', 7:'Seven', 8:'Eight', 9:'Nine', 0:'Zero'}
    return s[number]

def switch_it_up(number):
    switch={
        1:"One",
        2:"Two",
        3:"Three",
        4:"Four",
        5:"Five",
        6:"Six",
        7:"Seven",
        8:"Eight",
        9:"Nine",
        0:"Zero"
    }
    return switch[number]

def switch_it_up(number):
    number_map = {
        0: 'Zero',
        1: 'One',
        2: 'Two',
        3: 'Three',
        4: 'Four',
        5: 'Five',
        6: 'Six',
        7: 'Seven',
        8: 'Eight',
        9: 'Nine',
    }
    
    return number_map[number]

def switch_it_up(number=0):
    switcher = {
        0: "Zero",
        1: "One",
        2: "Two",
        3: "Three",
        4: "Four",
        5: "Five",
        6: "Six",
        7: "Seven",
        8: "Eight",
        9: "Nine",
        10: "Ten"
    }
    return switcher.get(number)

to_string = [
    'Zero',
    'One',
    'Two',
    'Three',
    'Four',
    'Five',
    'Six',
    'Seven',
    'Eight',
    'Nine'
]

def switch_it_up(number):
    return to_string[number]

def switch_it_up(number):
    dict_nums = {0: 'Zero',
                 1: 'One',
                 2: 'Two',
                 3: 'Three',
                 4: 'Four',
                 5: 'Five',
                 6: 'Six',
                 7: 'Seven',
                 8: 'Eight',                 
                 9: 'Nine',                 
                 }
    return dict_nums[number]

ENGLISH_NUMBE_NAMES = ("Zero", "One", "Two", "Three", "Four",
                       "Five", "Six", "Seven", "Eight", "Nine")

def switch_it_up(number: int) -> str:
    """Return english names of number 0-9."""
    if 0 <= number < len(ENGLISH_NUMBE_NAMES): 
        return ENGLISH_NUMBE_NAMES[number]
    else:
        return str(number)

def switch_it_up(number):
    number_word = {0: "Zero",
                  1: "One",
                  2: "Two",
                  3: "Three",
                  4: "Four",
                  5: "Five",
                  6: "Six",
                  7: "Seven",
                  8: "Eight",
                  9: "Nine"}
    return number_word[number]

def switch_it_up(number):
    
    translation = {
        0:'Zero',
        1:'One',
        2:'Two',
        3:'Three',
        4:'Four',
        5:'Five',
        6:'Six',
        7:'Seven',
        8:'Eight',
        9:'Nine'
    }
    
    return translation.get(number, None)

X = ["Zero", "One", "Two", "Three", "Four", "Five", "Six", "Seven", "Eight", "Nine", "Ten"]

def switch_it_up(n):
    return X[n]

def switch_it_up(number):
    dict_ = {1: 'One', 2: 'Two', 3: 'Three', 4: 'Four', 5: 'Five', 6: 'Six', 7: 'Seven', 8: 'Eight', 9: 'Nine', 0: 'Zero'}
    return dict_[number]

def switch_it_up(number):
    l=("Zero","One","Two","Three","Four","Five","Six","Seven","Eight","Nine")
    return l[number] 

def switch_it_up(number):
    if str(number).isdecimal():
        return ({
            1: 'one',
            2: 'two',
            3: 'three',
            4: 'four',
            5: 'five',
            6: 'six',
            7: 'seven',
            8: 'eight',
            9: 'nine',
            0: 'zero'
        }.get(number)).title()

def switch_it_up(number):
    #your code here
    sayi={1:'One',2:'Two',3:'Three',4:'Four',5:'Five',6:'Six',7:'Seven',8:'Eight',9:'Nine',0:'Zero'}
    
    return sayi[number]

def switch_it_up(number):
    numbers_words = {0: 'Zero', 1: 'One', 2: 'Two', 3: 'Three', 4: 'Four', 5: 'Five', 6: 'Six', 7: 'Seven',
                    8: 'Eight', 9: 'Nine'}
    return numbers_words[number]

def switch_it_up(number):
    if (number == 0):
        return "Zero";
    elif (number == 1):
        return "One";
    elif (number == 2):
        return "Two";
    elif (number == 3):
        return "Three";
    elif (number == 4):
        return "Four";
    elif (number == 5):
        return "Five";
    elif (number == 6):
        return "Six";
    elif (number == 7):
        return "Seven";
    elif (number == 8):
        return "Eight";
    return "Nine";

def switch_it_up(number):
    dicta={0:'Zero',1:'One',2:'Two',3:'Three',4:'Four',5:'Five',6:'Six',7:'Seven',8:'Eight',9:'Nine'}
       
    return dicta.get(number)

def switch_it_up(number):
    #your code here
    return "Zero" if number==0 else\
           "One" if number==1 else\
           "Two" if number==2 else\
           "Three" if number==3 else\
           "Four" if number==4 else\
           "Five" if number==5 else\
           "Six" if number==6 else\
           "Seven" if number==7 else\
           "Eight" if number==8 else\
           "Nine" if number==9 else\
           "This is dumb..."

def switch_it_up(number):
    return ["Zero", "One", "Two", "Three", "Four", "Five", "Six", "Seven", "Eight", "Nine"][number] # return the word based on the given index

def switch_it_up(number):
    return {0: "Zero",
            1: "One",
            2: "Two",
            3: "Three",
            4: "Four",
            5: "Five",
            6: "Six",
            7: "Seven",
            8: "Eight",
            9: "Nine"
           }.get(number) # get() retrives from the dictionary

def switch_it_up(num):
  if num == 1:
    return 'One'
  elif num == 2:
    return 'Two'
  elif num == 3:
    return 'Three'
  elif num == 4:
    return 'Four'
  elif num == 5:
    return 'Five'
  elif num == 6:
    return 'Six'
  elif num == 7:
    return 'Seven'
  elif num == 8:
    return 'Eight'
  elif num == 0:
    return 'Zero'
  else:
    return 'Nine'

def switch_it_up(number):
    d = { 
        0 : 'Zero', 
        1 : 'One', 
        2 : 'Two', 
        3 : 'Three', 
        4 : 'Four', 
        5 : 'Five',
        6 : 'Six', 
        7 : 'Seven', 
        8 : 'Eight', 
        9 : 'Nine', 
        10 : 'ten'
    }
    return d[number]

def switch_it_up(n):
    return 'One' if n == 1 else 'Two' if n == 2 else 'Three' if n == 3 else 'Four' if n == 4 else 'Five' if n == 5 else 'Six' if n == 6 else 'Seven' if n == 7 else 'Eight' if n == 8 else 'Nine' if n == 9 else 'Zero'

def switch_it_up(number):
    dct = {
        1:"One",
        2:"Two",
        3:"Three",
        4:"Four",
        5:"Five",
        6:"Six",
        7:"Seven",
        8:"Eight",
        9:"Nine",
        0:"Zero",
    } 
    return dct[number]

def switch_it_up(n):
    return ["zero", "one", 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine'][n].title()


def switch_it_up(x):
    numbers = ['zero', 'one', 'two', 'three', 'four',
               'five', 'six', 'seven', 'eight', 'nine']
    return numbers[x].capitalize()


def switch_it_up(number):
    num2words1 = {0:"Zero",1: 'One', 2: 'Two', 3: 'Three', 4: 'Four', 5: 'Five',
            6: 'Six', 7: 'Seven', 8: 'Eight', 9: 'Nine'}
    return num2words1[number]

convert = {0: "Zero",
            1: "One",
          2: "Two",
          3: "Three",
          4: "Four",
          5: "Five",
          6: "Six",
          7: "Seven",
          8: "Eight",
          9: "Nine"}

def switch_it_up(number):
    return convert.get(number)

def switch_it_up(number):
    nums = {
        "Zero": 0, 
        "One": 1, 
        "Two": 2, 
        "Three": 3, 
        "Four": 4, 
        "Five": 5, 
        "Six": 6, 
        "Seven": 7, 
        "Eight": 8, 
        "Nine": 9 }
    for k, v in nums.items():
        if v == number:
            return k

def switch_it_up(number):
    translations = {0: "Zero", 1: "One", 2: "Two", 3: "Three",
                    4: "Four", 5: "Five", 6: "Six", 7: "Seven",
                    8: "Eight", 9: "Nine"}
    return translations[number]

def switch_it_up(number):
    lst=[0,1,2,3,4,5,6,7,8,9,'Zero','One','Two','Three','Four','Five','Six','Seven','Eight','Nine']
    ind=lst.index(number)
    return lst[ind+10]

def switch_it_up(number):
    number_string = ''
    switcher = {
        0:'Zero',
        1:'One',
        2: 'Two',
        3: 'Three',
        4: 'Four',
        5: 'Five',
        6: 'Six',
        7: 'Seven',
        8 : 'Eight',
        9 : 'Nine'
    }
        
    return switcher.get(number, 'Invalid number')

def switch_it_up(number):
    dict = {
        0: "Zero",
        1: "One",
        2: "Two",
        3: "Three",
        4: "Four",
        5: "Five",
        6: "Six",
        7: "Seven",
        8: "Eight",
        9: "Nine"
    }
    return [v for k, v in dict.items() if k == number][0]

def switch_it_up(number):
    my_dict = {
        0 : "Zero",
        1 : "One",
        2 : "Two",
        3 : "Three",
        4 : "Four",
        5 : "Five",
        6 : "Six",
        7 : "Seven",
        8 : "Eight",
        9 : "Nine"
    }
    string = my_dict.get(number)
    return my_dict.get(number)

def switch_it_up(number):
    nmb = {
        1: 'One',
        2: 'Two',
        3: 'Three',
        4: 'Four',
        5: 'Five',
        6: 'Six',
        7: 'Seven',
        8: 'Eight',
        9: 'Nine'
    }
    return nmb.setdefault(number, 'Zero')

dic = {0:"Zero", 1:"One", 2:"Two", 3:"Three", 4:"Four", 5:"Five", 6:"Six", 7:"Seven", 8:"Eight", 9:"Nine"}
def switch_it_up(i):
    #your code here
    return dic[i]

def switch_it_up(number):
    converter = {0: 'Zero', 1: 'One', 2: 'Two', 3: 'Three',
                 4: 'Four', 5: 'Five', 6: 'Six',
                 7: 'Seven', 8: 'Eight', 9: 'Nine'}
    return converter.get(number, None)


numdict = {
    0: 'Zero',
    1: 'One',
    2: 'Two',
    3: 'Three',
    4: 'Four',
    5: 'Five',
    6: 'Six',
    7: 'Seven',
    8: 'Eight',
    9: 'Nine'
}

def switch_it_up(number):
    return numdict[number]

def switch_it_up(number):
    """ switch statement """
    switch={
    0:"Zero",
    1:"One",
    2:"Two",
    3:"Three",
    4:"Four",
    5:"Five",
    6:"Six",
    7:"Seven",
    8:"Eight",
    9:"Nine"}
    
    return switch.get(number)

def switch_it_up(number):
    mydic = {
    0:'Zero', 
    1:'One',
    2:'Two',
    3:'Three',
    4:'Four',
    5:'Five',
    6:'Six',
    7:'Seven',
    8:'Eight',
    9:'Nine'
    }
    
    return mydic[number]

def switch_it_up(num):
    d = { 0 : 'Zero', 1 : 'One', 2 : 'Two', 3 : 'Three', 4 : 'Four', 5 : 'Five',
          6 : 'Six', 7 : 'Seven', 8 : 'Eight', 9 : 'Nine', 10 : 'Ten',
          11 : 'Eleven', 12 : 'Twelve', 13 : 'Thirteen', 14 : 'fourteen',
          15 : 'Fifteen', 16 : 'Sixteen', 17 : 'Seventeen', 18 : 'eighteen',
          19 : 'Nineteen', 20 : 'Twenty',
          30 : 'Thirty', 40 : 'Forty', 50 : 'Fifty', 60 : 'Sixty',
          70 : 'Seventy', 80 : 'Eighty', 90 : 'Ninety' }
    k = 1000
    m = k * 1000
    b = m * 1000
    t = b * 1000

    assert(0 <= num)

    if (num < 20):
        return d[num]

    if (num < 100):
        if num % 10 == 0: return d[num]
        else: return d[num // 10 * 10] + '-' + d[num % 10]

    if (num < k):
        if num % 100 == 0: return d[num // 100] + ' hundred'
        else: return d[num // 100] + ' hundred and ' + int_to_en(num % 100)

    if (num < m):
        if num % k == 0: return int_to_en(num // k) + ' thousand'
        else: return int_to_en(num // k) + ' thousand, ' + int_to_en(num % k)

    if (num < b):
        if (num % m) == 0: return int_to_en(num // m) + ' million'
        else: return int_to_en(num // m) + ' million, ' + int_to_en(num % m)

    if (num < t):
        if (num % b) == 0: return int_to_en(num // b) + ' billion'
        else: return int_to_en(num // b) + ' billion, ' + int_to_en(num % b)

    if (num % t == 0): return int_to_en(num // t) + ' trillion'
    else: return int_to_en(num // t) + ' trillion, ' + int_to_en(num % t)

    raise AssertionError('num is too large: %s' % str(num))

def switch_it_up(number):
    num_in_words = {
        0 : 'Zero',
        1 : 'One',
        2 : 'Two',
        3 : 'Three',
        4 : 'Four',
        5 : 'Five',
        6 : 'Six',
        7 : 'Seven',
        8 : 'Eight',
        9 : 'Nine'
    }
    return num_in_words.get(number,"enter any number from 0 through 9")

def switch_it_up(number):
    cases = {
        0: 'Zero',
        1: 'One',
        2: 'Two',
        3: 'Three',
        4: 'Four',
        5: 'Five',
        6: 'Six',
        7: 'Seven',
        8: 'Eight',
        9: 'Nine'
    }
    return cases.get(number, "Invalid value")

def switch_it_up(number):
    a={1:'One',2:'two',3:'three',4:'four',5:'five',6:'six',7:'seven',8:'eight',9:'nine',0:'zero'}
    
    return a[number].title()

def switch_it_up(number):
    
    a_dict = {0:"Zero", 1:"One", 2:"Two", 3:"Three", 4:"Four",
              5:"Five", 6:"Six", 7:"Seven" , 8:"Eight", 9:"Nine"}
  

    for value in a_dict.values():
        needed = (a_dict[number])
    
    return needed

def switch_it_up(number):
    digits = {
        0 : 'Zero',
        1 : 'One',
        2 : 'Two',
        3 : 'Three',
        4 : 'Four',
        5 : 'Five',
        6 : 'Six',
        7 : 'Seven',
        8 : 'Eight',
        9 : 'Nine'}
    return digits.get(number)

def switch_it_up(number):
    wordList = {0:'Zero', 1:'One', 2:'Two', 3:'Three', 4:'Four', 5:'Five',
    6:'Six', 7:'Seven',8:'Eight', 9:'Nine'}
    return wordList[number]

stringNum = {1:'One',2:'Two',3:'Three',4:'Four',5:'Five',\
    6:'Six',7:'Seven',8:'Eight',9:'Nine',0:'Zero'}

def switch_it_up(number):
    if number in stringNum.keys():
        return stringNum[number]

WORDS = [
  'Zero',
  'One',
  'Two',
  'Three',
  'Four',
  'Five',
  'Six',
  'Seven',
  'Eight',
  'Nine'
]

def switch_it_up(number):
    return WORDS[number]

# given a number, 0 <= n <=9, return it in words
# input - number as integer
# output - string
# edge cases - decimals/floats, invalid input

# sample data - 8 = "Eight"
# how does a computer convert from integer to string

def switch_it_up(number):
    words = {0:"Zero",
    1:"One",
    2:"Two",
    3:"Three",
    4:"Four",
    5:"Five",
    6:"Six",
    7:"Seven",
    8:"Eight",
    9:"Nine"
    }
    return words.get(number)

def switch_it_up(number):
    ohh = {
    1 : 'One',
    2 : 'Two',
    3 : 'Three',
    4 : 'Four',
    5 : 'Five',
    6 : 'Six',
    7 : 'Seven',
    8 : 'Eight',
    9 : 'Nine',
    0 : 'Zero',
    }
    return ohh[number]

def switch_it_up(number):
    num = {0: 'Zero', 1: 'One', 2: 'Two', 3: 'Three', 4: 'Four', 5: 'Five', 6: 'Six', 7: 'Seven', 8: 'Eight', 9: 'Nine'}
    if number in num.keys ():
        return num [number]

def switch_it_up(number):
    
    return dict(zip(list(range(0,10)),['Zero','One','Two','Three','Four','Five','Six','Seven','Eight','Nine'])).get(number)

def switch_it_up(number):

    English = { 0 : "Zero" ,
                1 : "One" ,
                2 : "Two" ,
                3 : "Three" ,
                4 : "Four" ,
                5 : "Five" ,
                6 : "Six" ,
                7 : "Seven" ,
                8 : "Eight" ,
                9 : "Nine" }
                
    return English.get(number)

def switch_it_up(number):
    dic ={0:"Zero",1:"One",2:"Two",3:"Three",4:"Four",5:"Five",6:"Six",7:"Seven",8:"Eight",9:"Nine"}
    if number in dic:
        return dic[number] 

def switch_it_up(number):
    x = {
        0 : "Zero",
        1 : "One",
        2 : "Two",
        3 : "Three",
        4 : "Four",
        5 : "Five",
        6 : "Six",
        7 : "Seven",
        8 : "Eight",
        9 : "Nine",    
        }
    return x.get(number)

def switch_it_up(number):
    if 0<=number<10:
        return ['Zero','One','Two','Three','Four','Five','Six','Seven','Eight','Nine'][number]


def switch_it_up(number):
    return {
        0: "zero",
        1: "one",
        2: "two",
        3: "three",
        4: "four",
        5: "five",
        6: "six",
        7: "seven",
        8: "eight",
        9: "nine"
    }.get(number).title()

word = {
    1: "One",
    2: "Two",
    3: "Three",
    4: "Four",
    5: "Five",
    6: "Six",
    7: "Seven",
    8: "Eight",
    9: "Nine",
    0: "Zero"}

def switch_it_up(number):
    return word.get(number)

word = {0: "Zero",
      1: "One",
      2: "Two",
      3: "Three",
      4: "Four",
      5: "Five",
      6: "Six",
      7: "Seven",
      8: "Eight",
      9: "Nine"}
      
def switch_it_up(number):
    if word.get(number):
        return word[number]

def switch_it_up(number):
    return {
        1:'one',
        2:'two',
        3:'three',
        4:'four',
        5:'five',
        6:'six',
        7:'seven',
        8:'eight',
        9:'nine',
        0:'zero'}.get(number).capitalize()


def switch_it_up(number):
    nums = {
    'Zero': 0,
    'One': 1,
    'Two': 2,
    'Three': 3, 
    'Four': 4, 
    'Five': 5, 
    'Six': 6, 
    'Seven': 7,
    'Eight': 8,
    'Nine': 9,
    'Ten': 10
}
    for key, value in nums.items():
        if value  == number:
            return key

def switch_it_up(number):
    #your code here
    my_list=['Zero','One','Two','Three','Four','Five','Six','Seven','Eight','Nine']
    return my_list[number]

def switch_it_up(n):
    d={
    0:'Zero',
    1:'One',
    2:'Two',
    3:'Three',
    4:'Four',
    5:'Five',
    6:'Six',
    7:'Seven',
    8:'Eight',
    9:'Nine'
    }
    return d.get(n,0)

def switch_it_up(number):
    dictionary = {0:"Zero",1:"One",2:"Two",3:"Three",
                  4:"Four",5:"Five",6:"Six",7:"Seven",
                  8:"Eight",9:"Nine"}
    return dictionary[number]

def switch_it_up(number):
    dic = {0: "Zero", 1: "One", 2: "Two", 3: "Three", 4: "Four", 5: "Five", 6: "Six", 7: "Seven", 8: "Eight", 9: "Nine"}
    return dic.get(number, "ERROR")

def switch_it_up(number):
   result=''
   if number ==0:
      result="Zero"
   elif number ==1:
      result="One"
   elif number ==2:
      result="Two"
   elif number ==3:
      result="Three"
   elif number ==4:
      result="Four"
   elif number ==5:
      result="Five"  
   elif number ==6:
      result="Six"
   elif number ==7:
      result="Seven"
   elif number ==8:
      result="Eight"
   elif number ==9:
      result="Nine"
      
      
   
   return result

def switch_it_up(number):
    num2words = {1: 'One', 2: 'Two', 3: 'Three',
             4: 'Four', 5: 'Five',
             6: 'Six', 7: 'Seven',
             8: 'Eight', 9: 'Nine',
             0: 'Zero'}

    return num2words.get(number)

def switch_it_up(number):
    numbers = 'Zero-One-Two-Three-Four-Five-Six-Seven-Eight-Nine'.split('-')
    return numbers[number] if number < len(numbers) else 'Error'