name1 = input("What is the first person's name: ") length1 = len(name1) name2 = input("What is the second person's name: ") length2 = len(name2) love_match = (length1 * length2) % 11 match_bar = "[" + "#" * love_match + " " * (10 - love_match) + "]" if love_match <= 2: message = "You are a terrible match" elif 3 <= love_match <= 5: message = "You probably shouldn't bother" elif 6 <= love_match <= 8: message = "You are a good match" else: message = "You are a perfect match!" print("Love Match:", match_bar) print(message)