<reponame>enyaooshigaolo/MyPython<gh_stars>10-100
# ALL the combinations of n digit combo
def nDigitCombinations():
	try:
		npow = 10**n
		numbers=[]
		for code in range(npow):
			code=str(code).zfill(n)
			numbers.append(code)
	except:
		# handle all other exceptions
		pass    
	return(numbers)
