alibicer commited on
Commit
3dd625a
·
verified ·
1 Parent(s): 78501b9

Update prompts/main_prompt.py

Browse files
Files changed (1) hide show
  1. 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
- $$ \\frac{2}{25} = \\frac{24}{x} $$
 
 
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
- $$ 2 \\times x = 24 \\times 25 $$
41
- Can you solve for \( x \)?"
 
 
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
- $$ x = \\frac{600}{2} = 300 $$
 
 
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
- $$ \\frac{3.50}{10} = 0.35 $$ per pencil (Ali)
66
- $$ \\frac{1.80}{5} = 0.36 $$ per pencil (Ahmet)"
 
 
 
 
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 this module! Thanks for participating.**"
 
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.**"