<human>:  What is a good Python program to create a random integer except a number.
<bot>: Here is a Python program to create a random integer except a number

import random

def random_int(min, max):
  """
  Returns a random integer between min and max.
  """
  return random.randint(min, max)

# Enter the min and max
min = 1
max = 10

# Calling the function
print((random_int(min, max)))

#Example Output
# 8

#Remember to inspect code for bugs.