def intager (num):
	"""Check if the input is an integer or not"""
	#test new code
	if num.strip().isdigit():
		return True
	else:
		return False
	''' original code
	try:
		num = int(num)
		return (num)
	except:
		print('\nPlease enter a valid number')
		return
'''
