README updated.

This commit is contained in:
rhinemann 2024-01-18 23:41:43 +02:00
parent 02031c1102
commit c5e6b61931
2 changed files with 4 additions and 3 deletions

View File

@ -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

View File

@ -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":