This Python script determines if a person meets the height requirement to ride a rollercoaster and calculates the cost of the ride based on the rider's age and whether they want a photo taken.
-
Make sure you have Python installed on your system.
-
Clone the repository:
git clone https://github.com/griffinsgri4/rollercoaster-ride-calculator.git
-
Navigate to the directory where the script is located.
-
Run the script:
-
Follow the prompts to enter your height, age, and whether you want a photo taken.
Welcome to the rollercoaster! What is your height in cm? 150 You can ride the rollercoaster! What is your age? 25 Adult tickets are $12. Do you want a photo taken? Y or N. Y Your final bill is $15
Contributions are welcome! If you'd like to contribute to this project, please fork the repository and submit a pull request with your changes.
This project is licensed under the MIT License.
- Original Author: griffinsgri4