Update util.py
Browse files
util.py
CHANGED
@@ -26,17 +26,15 @@ def get_final_answer(question, initial_answer):
|
|
26 |
- If you are asked for a comma separated list, apply the above rules depending of whether the element to be put in the list is a number or a string.
|
27 |
- In case of a single word answer, start the word with an uppercase letter.
|
28 |
|
29 |
-
**Question:** """
|
30 |
question + """
|
31 |
|
32 |
-
**Initial answer:** """
|
33 |
initial_answer + """
|
34 |
|
35 |
-
**Example 1:**
|
36 |
-
**Example 2:**
|
37 |
**Example 3:** What is the biggest city in California? Los Angeles
|
38 |
-
**Example 4:** What is the superlative of good? Best
|
39 |
-
**Example 5:** How many states are in the USA? 50
|
40 |
|
41 |
**Final answer:**
|
42 |
|
|
|
26 |
- If you are asked for a comma separated list, apply the above rules depending of whether the element to be put in the list is a number or a string.
|
27 |
- In case of a single word answer, start the word with an uppercase letter.
|
28 |
|
29 |
+
**Question:** """
|
30 |
question + """
|
31 |
|
32 |
+
**Initial answer:** """
|
33 |
initial_answer + """
|
34 |
|
35 |
+
**Example 1:** What is the opposite of white? Black
|
36 |
+
**Example 2:** How many 'r's are in the word strawberry? 3
|
37 |
**Example 3:** What is the biggest city in California? Los Angeles
|
|
|
|
|
38 |
|
39 |
**Final answer:**
|
40 |
|