Pergunta de entrevista da empresa Phoenix Group

in python write a code to get a dictionary if i write 1 the output must be one and so on