alibicer commited on
Commit
6165ff5
·
verified ·
1 Parent(s): 2f0985e

Update prompts/main_prompt.py

Browse files
Files changed (1) hide show
  1. prompts/main_prompt.py +18 -6
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,14 @@ 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
  """
 
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
+ \\]
74
+ per pencil (Ali)
75
+ \\[
76
+ \\frac{1.80}{5} = 0.36
77
+ \\]
78
+ per pencil (Ahmet)"
79
 
80
  💡 **Try calculating it before moving forward!**
81
  """