Skip to content

Sebdababo/Python-Harry-Potter-Currency-Converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Harry Potter Currency Converter

Overview

This Python program converts Harry Potter currency (Galleons, Sickles, and Knuts) into the desired type of currency. Users can input the amount of each coin type they possess, and the program will convert the total value into Galleons, Sickles, or Knuts.

Features

  • Converts between Galleons, Sickles, and Knuts.
  • Handles multiple coin types in a single conversion.
  • Validates user inputs for coin types and amounts.

Requirements

  • Python 3.x

Installation

  1. Clone the Repository:

    git clone https://github.com/Sebdababo/Python-Harry-Potter-Currency-Converter.git
    cd Python-Harry-Potter-Currency-Converter
    
  2. Run the Program:

    python "Harry Potter Currency Converter.py"
    

Usage

  1. Run the program.
  2. Enter the types of coins you have when prompted (e.g., Galleons, Sickles, Knuts).
  3. Enter the amount of each coin type when prompted.
  4. Enter the currency you want to convert to (Galleon, Sickle, Knut).
  5. The program will display the total amount in the desired currency.

Example Usage

hp currency converter output

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages