Design a program that generates a seven-digit lottery number. The program should generate seven random numbers, each in the range of 0 through 9. Compare them with the user's choices.
Design a program that generates a seven-digit lottery number. The program should generate
seven random numbers, each in the range of 0 through 9.
"""
# import the random module
import random
# define the main function
def main():
# ask the player to choose random numbers between 0 and 9:
print("Choose 7 numbers between 0 and 9: ")
# call the function which does it
user_choices()
# call random generator:
random_number_list = random_generator()
# display the numbers:
display_numbers(random_number_list)
# create a random generator function
def random_generator():
"""
:return: a list filled with 7 random integers
"""