This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def find_lottery_suggestions_from_numbers(numbers, combinations_to_find): | |
#iterate over the numbers list | |
#find the eligible combinations | |
#print out the answer | |
print "Checking in input set :", numbers | |
for number in numbers: | |
#print "checking for ", number | |
combos = check_for_unique_combinations(int(number), combinations_to_find) | |
if combos: | |
print "FOUND Eligible Lottery Candidate >>>>>>>>>>", number, combos |