-
Notifications
You must be signed in to change notification settings - Fork 0
/
options.py
85 lines (71 loc) · 1.79 KB
/
options.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
import os
import function as f
from datetime import datetime
import time
def x(choice):
if choice == 1:
os.system('cls')
print("Please enter in your age: ")
age = int(input())
if age >= 18:
f.signup()
f.per_info()
f.secure()
f.ok()
credit = True
options()
elif age <= 17:
f.joint()
f.per_info()
f.secure()
f.ok()
credit = True
options()
elif choice == 2:
print("Please enter in your age: ")
age = int(input())
if age >= 18:
f.signup()
f.per_info()
f.secure()
f.ok()
saving = True
options()
elif age <= 17:
f.joint()
f.per_info()
f.secure()
f.ok()
saving = True
options()
elif choice == 3:
print("Please enter in your age: ")
age = int(input())
if age >= 18:
f.signup()
f.per_info()
f.secure()
f.ok()
bank = True
options()
elif age <= 17:
f.joint()
f.per_info()
f.secure()
f.ok()
bank = True
options()
elif choice == 4:
print("Bot: Ok! Thank you for using the Banker ChatBot!")
if credit == True:
if choice == 1:
print(f"You already signed up to this account.")
print("You can choose to create another account,or exit out of the program")
options()
"""
if saving == True:
if choice == 2:
print(f"You already signed up to this account {name}")
print("You can choose to create another account,or exit out of the program")
options(name)
"""