Spaces:
Runtime error
Runtime error
Commit
•
c53eb93
1
Parent(s):
0d58429
Upload Content.py
Browse files- Content.py +3 -2
Content.py
CHANGED
@@ -11,8 +11,9 @@ response_list = []
|
|
11 |
|
12 |
prakriti1 = ''
|
13 |
def questions(input):
|
14 |
-
if input
|
15 |
-
|
|
|
16 |
if 'years' in input or 'year' in input:
|
17 |
response_list.append(int(input.split()[0]))
|
18 |
return 'Q2. What is your weight? (Approx or Exact)'
|
|
|
11 |
|
12 |
prakriti1 = ''
|
13 |
def questions(input):
|
14 |
+
if input in ('sure', 'yes'):
|
15 |
+
return 'Q1. What is your age?'
|
16 |
+
|
17 |
if 'years' in input or 'year' in input:
|
18 |
response_list.append(int(input.split()[0]))
|
19 |
return 'Q2. What is your weight? (Approx or Exact)'
|