Spaces:
Sleeping
Sleeping
Update prompts/main_prompt.py
Browse files- prompts/main_prompt.py +17 -7
prompts/main_prompt.py
CHANGED
@@ -28,7 +28,9 @@ def next_step(step):
|
|
28 |
elif step == 2:
|
29 |
return """🔹 **Hint 1:**
|
30 |
1️⃣ "Try setting up a proportion:
|
31 |
-
|
|
|
|
|
32 |
Does this equation make sense?"
|
33 |
|
34 |
💡 **Try answering before moving forward.**
|
@@ -37,8 +39,10 @@ def next_step(step):
|
|
37 |
elif step == 3:
|
38 |
return """🔹 **Hint 2:**
|
39 |
2️⃣ "Now, cross-multiply:
|
40 |
-
|
41 |
-
|
|
|
|
|
42 |
|
43 |
💡 **Give it a shot!**
|
44 |
"""
|
@@ -46,7 +50,9 @@ def next_step(step):
|
|
46 |
elif step == 4:
|
47 |
return """✅ **Solution:**
|
48 |
"Final step: divide both sides by 2:
|
49 |
-
|
|
|
|
|
50 |
So, 24 cm represents **300 miles**!"
|
51 |
|
52 |
💡 "Does this answer make sense? Want to try another method?"
|
@@ -62,8 +68,12 @@ So, 24 cm represents **300 miles**!"
|
|
62 |
elif step == 6:
|
63 |
return """🔹 **Hint 1:**
|
64 |
1️⃣ "Find the cost per pencil:
|
65 |
-
|
66 |
-
|
|
|
|
|
|
|
|
|
67 |
|
68 |
💡 **Try calculating it before moving forward!**
|
69 |
"""
|
@@ -162,4 +172,4 @@ So, **Ali got the better deal!**"
|
|
162 |
"Great job today! Would you like to explore additional examples or discuss how to use these strategies in the classroom?"
|
163 |
"""
|
164 |
|
165 |
-
return "🎉 **End of
|
|
|
28 |
elif step == 2:
|
29 |
return """🔹 **Hint 1:**
|
30 |
1️⃣ "Try setting up a proportion:
|
31 |
+
\\[
|
32 |
+
\\frac{2}{25} = \\frac{24}{x}
|
33 |
+
\\]
|
34 |
Does this equation make sense?"
|
35 |
|
36 |
💡 **Try answering before moving forward.**
|
|
|
39 |
elif step == 3:
|
40 |
return """🔹 **Hint 2:**
|
41 |
2️⃣ "Now, cross-multiply:
|
42 |
+
\\[
|
43 |
+
2 \\times x = 24 \\times 25
|
44 |
+
\\]
|
45 |
+
Can you solve for \\( x \\)?"
|
46 |
|
47 |
💡 **Give it a shot!**
|
48 |
"""
|
|
|
50 |
elif step == 4:
|
51 |
return """✅ **Solution:**
|
52 |
"Final step: divide both sides by 2:
|
53 |
+
\\[
|
54 |
+
x = \\frac{600}{2} = 300
|
55 |
+
\\]
|
56 |
So, 24 cm represents **300 miles**!"
|
57 |
|
58 |
💡 "Does this answer make sense? Want to try another method?"
|
|
|
68 |
elif step == 6:
|
69 |
return """🔹 **Hint 1:**
|
70 |
1️⃣ "Find the cost per pencil:
|
71 |
+
\\[
|
72 |
+
\\frac{3.50}{10} = 0.35
|
73 |
+
\\] per pencil (Ali)
|
74 |
+
\\[
|
75 |
+
\\frac{1.80}{5} = 0.36
|
76 |
+
\\] per pencil (Ahmet)"
|
77 |
|
78 |
💡 **Try calculating it before moving forward!**
|
79 |
"""
|
|
|
172 |
"Great job today! Would you like to explore additional examples or discuss how to use these strategies in the classroom?"
|
173 |
"""
|
174 |
|
175 |
+
return "🎉 **End of module! Thanks for participating.**"
|