sarun25 commited on
Commit
ffbcaf5
·
verified ·
1 Parent(s): a70ec71

update UI code

Browse files
Files changed (1) hide show
  1. ui_module.py +6 -6
ui_module.py CHANGED
@@ -270,12 +270,12 @@ def build_ui(evaluate_fn):
270
  "Example: Write a function that accepts a list of integers "
271
  "and returns the sum of all even numbers. It should handle "
272
  "empty lists by returning 0 and ignore non-integer values."
273
- ""
274
- "The Python code entered should be in the format:"
275
- "def function name (parameter1, parameter2):"
276
- " # Function body (code to execute)"
277
- " result = parameter1 + parameter2"
278
- " return result # Optional: sends a value back to the caller"
279
  ),
280
  lines=10,
281
  max_lines=20,
 
270
  "Example: Write a function that accepts a list of integers "
271
  "and returns the sum of all even numbers. It should handle "
272
  "empty lists by returning 0 and ignore non-integer values."
273
+ "\n\n"
274
+ "The Python code entered should be in the format:\n"
275
+ "def function name (parameter1, parameter2):\n"
276
+ "\t# Function body (code to execute)\n"
277
+ "\tresult = parameter1 + parameter2\n"
278
+ "\treturn result # Optional: sends a value back to the caller"
279
  ),
280
  lines=10,
281
  max_lines=20,