Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 1.1 KB

README.md

File metadata and controls

39 lines (29 loc) · 1.1 KB

Python Base Converter

Overview

This Python program allows users to convert numbers between different bases, ranging from a user-defined minimum base to a maximum base. It supports negative numbers and ensures valid base inputs.

Features

  • Convert numbers between any two bases within the specified range.
  • Handles both positive and negative numbers.
  • Validates user inputs for base values.
  • Option to exit the program gracefully.

Requirements

  • Python 3.x

Installation

  1. Clone the Repository:

    git clone https://github.com/Sebdababo/Python-Base-Converter.git
    cd Python-Base-Converter/converter
    
  2. Run the Program:

    python converter.py
    

Usage

  1. When prompted, enter the minimum and maximum base values.
  2. Enter the number you want to convert.
  3. Enter the base of the input number.
  4. Enter the base to which you want to convert the number.
  5. The program will display the converted number.
  6. Type "exit" to quit the program.

Example Usage

Base Converter output