name1 = input( "What is the first person's name: " ) length1 = len( name1 ) name2 = input( "What is the second person's name: " ) length2 = len( name2 ) print( "Your Love Meter Rating:" ) import random random_number = random.randint(1,10) print(random_number) def evaluate_match(score): if 0 <= score <= 2: return "You are a terrible match" elif 3 <= score <= 5: return "You probably shouldn't bother" elif 6 <= score <= 8: return "You are a good match" elif 9 <= score <= 10: return "You are a perfect match!" else: return "Invalid score" print(evaluate_match(random_number))