Skip to content

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

License

Notifications You must be signed in to change notification settings

abdullahguch/temperature-converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages