requiredcrx / Length-Converter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mile to Km Converter

Day 27 project of the 100days of code challenge. It's a simple length converter built using Tkinter, a Python GUI toolkit.

Description

The Length Converter application allows you to convert distances from miles to kilometers. Simply enter a value in miles, click the "Calculate" button, and the equivalent value in kilometers will be displayed.

Features

  • Convert distances from miles to kilometers.
  • User-friendly interface with input field and result display.
  • Clicking the "Calculate" button performs the conversion and updates the result.

Requirements

  • Python 3.x
  • Tkinter library (usually comes pre-installed with Python)

Usage

Run the script using the following command:

python length_converter.py

  • Enter a distance in miles in the input field.
  • Click the "Calculate" button to convert the distance to kilometers. The equivalent distance in kilometers will be displayed below the button.

Example

Screen Recording 2023-07-03 at 16 53 22

License

This project is licensed under the MIT License.

Feel free to use and modify this code according to your needs.

About

License:MIT License


Languages

Language:Python 100.0%