Skip to content

Sebdababo/Python-Base-Converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages