README updated.
This commit is contained in:
parent
02031c1102
commit
c5e6b61931
|
@ -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
|
||||
|
|
5
main.py
5
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":
|
||||
|
|
Loading…
Reference in New Issue