-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.py
55 lines (42 loc) · 1.22 KB
/
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
41
42
43
44
45
46
47
48
49
50
51
52
53
from handlers.addAccount import addAccount
from handlers.viewAccount import viewAccount
from handlers.viewBalance import viewBalance
print("----------------------")
print("| Bank of NUML |")
print("----------------------")
print("| 1 | Open Account |")
print("----------------------")
print("| 2 | Deposite Money |")
print("----------------------")
print("| 3 | Withdraw Money |")
print("----------------------")
print("| 4 | View Balance |")
print("----------------------")
print("| 5 | View History |")
print("----------------------")
print("| 6 | Close Account |")
print("----------------------")
print("| 7 | View Account |")
print("----------------------")
print("| 8 | Close App |")
print("----------------------")
choiceOfUser = int(input("Please Enter Choice: "))
match choiceOfUser:
case 1 :
addAccount.registerAccount()
case 2 :
print(choiceOfUser)
case 3 :
print(choiceOfUser)
case 4 :
viewBalance.viewBalance()
case 5 :
print(choiceOfUser)
case 6 :
print(choiceOfUser)
case 7 :
viewAccount.viewData()
case 8 :
print(choiceOfUser)
case _ :
print("Please Enter Valid Input")