# This Python file uses the following encoding: utf-8 import random import itertools d = {'1':'first','2':'second','3':'third','4':'fourth','5':'fifth' }
def main():
# Get first list and check for correct length, no duplicates, all integers, numbers are in range of 1-20, and there are no decimal numbers
userInput1 = InputList('1')
while not (CheckForLength(userInput1) and CheckForDuplicates(userInput1) and CheckForIntegers(userInput1) and CheckForWithinRange(userInput1) and CheckForWholeNumber(userInput1)):
userInput1 = InputList('1')
# Get second list and check for correct length, no duplicates, all integers, numbers are in range of 1-20, and there are no decimal numbers
userInput2 = InputList('2')
while not (CheckForLength(userInput2) and CheckForDuplicates(userInput2) and CheckForIntegers(userInput2) and CheckForWithinRange(userInput2) and CheckForWholeNumber(userInput2)):
userInput2 = InputList('2')
