From c5e6b61931115f784fce4d0e46dd1fe11b4e330e Mon Sep 17 00:00:00 2001 From: rhinemann Date: Thu, 18 Jan 2024 23:41:43 +0200 Subject: [PATCH] README updated. --- README.md | 2 +- main.py | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 938b6b2..cac88c1 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ The user must have installed: To install the calculator just clone the repository locally: ``` -git clone -b master http://10.1.1.1:3000/Rhinemann/binaryCalculatorPrototype.git +git clone -b master http://139.162.162.130:3000/Rhinemann/binaryCalculatorPrototype.git ``` # User instructions diff --git a/main.py b/main.py index 595f00a..ca6417c 100644 --- a/main.py +++ b/main.py @@ -95,8 +95,9 @@ def input_handler(first_register: bu.BasicRegister, second_register: bu.BasicReg prompt_text: str = get_prompt_text(operation, method).format(first_register, second_register, operation, method) print() if operation == "": - raw_user_input = input("Choose the operation:\n[a]ddition, [s]ubtraction, [m]ultiplication, [d]ivision, " - "[q]uit\n" + prompt_text + " > ") + raw_user_input = input("Choose the operation:\n" + "[a]ddition, [s]ubtraction, [m]ultiplication, [d]ivision, [q]uit\n" + + prompt_text + " > ") elif operation == "m": raw_user_input = input("Choose method to use (1-4):\n" + prompt_text + " > ") elif operation == "d":