string = '5/11/2013'.split('/')
dictionary = {'5': 'May'}
print('{} {} {}'.format(string[1], dictionary[string[0]], string[2]))
Python string formatting: get value in a dictionary by using index of another keyword