arjunanand13 commited on
Commit
f486bbd
·
verified ·
1 Parent(s): 7b93201

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,7 +14,7 @@ def get_coding_exercise(topic, difficulty):
14
  """Generate a coding exercise based on the given topic and difficulty."""
15
 
16
  prompt = f"""Create a {difficulty} Python coding exercise about {topic}.
17
- Provide ONLY the problem statement and expected output.
18
  Do NOT include any code or solution.
19
  Keep it under 100 words and make it clear and concise."""
20
  try:
 
14
  """Generate a coding exercise based on the given topic and difficulty."""
15
 
16
  prompt = f"""Create a {difficulty} Python coding exercise about {topic}.
17
+ Provide ONLY the problem statement and expected output , sample input and sample output.
18
  Do NOT include any code or solution.
19
  Keep it under 100 words and make it clear and concise."""
20
  try: