Skip to content

Files

Latest commit

 

History

History

Binary-Decimal Converter

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Binary-Decimal Converter

This repository contains a simple Python script that allows users to convert between binary and decimal numbers.

Description

The script provides a menu to choose between converting a decimal number to binary or a binary number to decimal. It handles invalid inputs gracefully by prompting the user to choose a valid option.

Required Modules

This script uses the standard Python library. No additional modules are required.

How to Install Required Modules

No additional modules need to be installed. Ensure that Python is installed on your system.

How to Run the Script

  1. Clone the Repository:
             git clone https://github.com/yourusername/binary-decimal-converter.git
            cd binary-decimal-converter
  1. Run the Script:
            python3 converter.py