def dict_hangman(num_of_tries):
	"""
	The function return the "photo" of the hangman.

	:param num_of_tries: the user's number of guessing
	:type num_of_tries: int
	:return: the photo of the hangman
	:rtype: string
	"""
	HANGMAN_PHOTHOS = {
	'1': """   x-------x""",
	'2': 
	"""
	x-------x
	|
	|
	|
	|
	|""", 
	'3': """
	x-------x
	|       |
	|       0
	|
	|
	|""", 
	'4': """
	x-------x
	|       |
	|       0
	|       |
	|
	|""", 
	'5': """
	x-------x
	|       |
	|       0
	|      /|\\
	|
	|""", 
	'6': """
	x-------x
	|       |
	|       0
	|      /|\\
	|      /
	|""", 
	'7':"""
	x-------x
	|       |
	|       0
	|      /|\\
	|      / \\
	|"""
	}
	
	return HANGMAN_PHOTHOS[str(num_of_tries)]