#love_bar refresh love_bar_full = 0 love_bar_empty = 10 # inputs name1 = input("What is the first person's name: ") name2 = input("What is the second person's name: ") # input coversion length1 = len(name1) length2 = len(name2) # Bar graph representation love_match = (length1 + length2) % 11 # Messages based on Love Match value if love_match <= 2: print("You are a terrible match") elif love_match <= 5: print("You probably shouldn't bother") elif love_match <= 8: print("You are a good match") else : print("You are a perfect match!") # love_bar equations for the symbol printing love_bar_full = love_match love_bar_empty = love_bar_empty - love_bar_full # love_bar printing action print ("[" + "#" * love_bar_full + "-" * love_bar_empty + "]")