def typeOfNum(num):
 if num%2 ==0 : 
 	def message():
   		print("you entered an even number.")
 else:
  	def message():
   		print("you entered a odd number.")
 message()
#end of function
typeOfNum(2)
typeOfNum(3)