Número al azar del 1 al 10 (con funciones): 8