Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -44,7 +44,7 @@ def run_code_with_inputs(code: str, inputs: str) -> str:
|
|
| 44 |
|
| 45 |
if any(errors):
|
| 46 |
nl='\n'
|
| 47 |
-
outputs.
|
| 48 |
return f"Errors:\n{nl.join(errors)}\n\nOutput:\n{nl.join(outputs)}"
|
| 49 |
return outputs[-1]
|
| 50 |
|
|
|
|
| 44 |
|
| 45 |
if any(errors):
|
| 46 |
nl='\n'
|
| 47 |
+
outputs.extend([pseudokey, repr(pseudokey)])
|
| 48 |
return f"Errors:\n{nl.join(errors)}\n\nOutput:\n{nl.join(outputs)}"
|
| 49 |
return outputs[-1]
|
| 50 |
|