-
Notifications
You must be signed in to change notification settings - Fork 1
/
main.py
41 lines (31 loc) · 866 Bytes
/
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#main
import math
import helper
import complex
import numpy
import matrix
import vector
import os
os.system('cls')
red = "\033[0;31m"
white = "\033[0;37m"
def main():
while(True):
answer = (input('''
Symbolab Minus Minus
Type 1 to do vector Calculation
Type 2 to do matrix Calculation
Type 3 to do complex Calculation
Type 0 to quit Calculator\n'''))
if answer== '1':
vector.calculate()
elif answer=='2':
matrix.calculate()
elif answer=='3':
complex.calculate()
elif answer=='0':
break
else:
print("There's an input error. Please follow the instructions in README.txt!")
main()
main()