Welcome to the Love Match calculator! This simple program calculates the compatibility of two people based on their names.
- Clone or download this repository to your local machine
- Navigate to the directory where you have saved the script
- Run the script using Python 3:
python love_calculator.py
- Follow the prompts to enter the names of the two people
The Love Match calculator takes the input of two names and converts them to lowercase. It then combines the two names and counts the number of occurrences of the letters in the word "true" and the word "love" in the combined string. The program calculates the love score by adding the counts of the letters in "true" and "love" and returns a message based on the score.
The program will output the love score for the two names as well as a message indicating the level of compatibility based on the score. The possible messages are:
- "You may not be the best for each other" if the score is less than or equal to 50
- "You go together like coke and menthos" if the score is greater than 50 and less than 90
- "You are good together" if the score is 90 or above