Create a Python program that prints out a random id number containing 6 digits.
Not applicable
import random

def generateId():
  return ''.join(str(random.randint(0,9)) for i in range(6))

print(generateId())