Spaces:
Sleeping

raufoon commited on
Commit
1c8fea8
·
verified ·
1 Parent(s): 197b089

Update app.py

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