olimpiada/ejercicios/random/piramides.py
def dibujar_normal_hueca(base):
	"""Funcion que dibuja la piramide normal hueca"""
	for i in reversed(range(base-1)):
		for x in reversed(range(i+1)):
			print "",
		print "*",
		for x in reversed(range(base-(i+3))):
			print " ",
		if i < (base-2):
			print "*"
		else:
			print ""
	for i in range(base):
		print "*",
Funcion que dibuja la piramide normal hueca
Funcion que dibuja la piramide normal hueca
Funcion que dibuja la piramide normal hueca
def dibujar_normal_hueca(base):
	for i in reversed(range(base-1)):
		for x in reversed(range(i+1)):
			print "",
		print "*",
		for x in reversed(range(base-(i+3))):
			print " ",
		if i < (base-2):
			print "*"
		else:
			print ""
	for i in range(base):
		print "*",
def dibujar_normal_hueca ( base ) : for i in reversed ( range ( base - 1 ) ) : for x in reversed ( range ( i + 1 ) ) : print "" , print "*" , for x in reversed ( range ( base - ( i + 3 ) ) ) : print " " , if i < ( base - 2 ) : print "*" else : print "" for i in range ( base ) : print "*" ,
Funcion que dibuja la piramide normal hueca
Funcion que dibuja la piramide normal hueca
"""Funcion que dibuja la piramide normal hueca"""
base