abdullahguch / temperature-converter

A Python script that allows you to convert temperatures between Celsius, Fahrenheit, and Kelvin.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Temperature Converter

A simple Python script that allows you to convert temperatures between Celsius, Fahrenheit, and Kelvin. This script provides easy-to-use functions for temperature conversion and a user-friendly command-line interface.

Table of Contents

Features

  • Convert temperatures between Celsius, Fahrenheit, and Kelvin.
  • Choose from various conversion options: Celsius to Fahrenheit, Fahrenheit to Celsius, Celsius to Kelvin, Kelvin to Celsius, Fahrenheit to Kelvin, and Kelvin to Fahrenheit.
  • Provides accurate temperature conversions.

Getting Started

Follow these instructions to get started with the Temperature Converter:

Requirements

  • Python 3.6 or higher

Installation

  1. Clone this repository to your local machine:

git clone https://github.com/abdullahguch/temperature-converter.git

  1. Navigate to the project directory:

cd temperature-converter

Usage

  1. Run the script:

python temperature_converter.py

  1. Choose the type of temperature conversion you want to perform by entering the corresponding number.

  2. Follow the prompts to enter the temperature value you want to convert.

  3. The script will display the converted temperature.

Example

Temperature Converter

  1. Celsius to Fahrenheit
  2. Fahrenheit to Celsius
  3. Celsius to Kelvin
  4. Kelvin to Celsius
  5. Fahrenheit to Kelvin
  6. Kelvin to Fahrenheit

Enter your choice (1/2/3/4/5/6): 1 Enter temperature in Celsius: 25 25.0 Celsius = 77.0 Fahrenheit

Contributing

Contributions are welcome! Please feel free to open issues or pull requests to suggest improvements or report bugs.

License

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

Happy temperature converting!

About

A Python script that allows you to convert temperatures between Celsius, Fahrenheit, and Kelvin.

License:MIT License


Languages

Language:Python 100.0%