Skip to content

Latest commit

 

History

History
70 lines (48 loc) · 2.22 KB

README.md

File metadata and controls

70 lines (48 loc) · 2.22 KB

Love Calculator

Welcome to the Love Calculator! This simple program takes the names of two individuals and calculates their love compatibility score based on the occurrence of the letters in the word "TRUE LOVE" in their combined names.

Table of Contents

Description

The Love Calculator is a fun, light-hearted program designed to determine the compatibility between two people based on their names. It combines the letters from both names, counts specific letters, and computes a score to predict the relationship's potential.

Installation

Installation

To run this script, you need to have Python installed on your system. You can download Python from python.org.

Usage

  1. Clone the repository to your local machine:

    git clone https://github.com/griffinsgri4/love-calculator.git
    cd love-calculator
  2. Run the script:

    python love_calculator.py
    

    example: Welcome to the Love Calculator! What is your name? Alice What is their name? Bob Your score is 38, you are alright together.

In this example:

The user entered "Alice" as their name and "Bob" as the other person's name. The script calculated a love score of 38 based on the occurrence of certain letters in the combined string of the names. Since the score falls between 40 and 50, the message "Your score is 38, you are alright together." is displayed.

  1. Follow the prompts to enter the names and see the love score.

Contributing

Contributions are welcome! If you have suggestions or improvements, feel free to create an issue or submit a pull request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a pull request

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contact

If you have any questions or suggestions, feel free to reach out to me at [griffootieno@gmail.com].