KaiquanMah commited on
Commit
b2521b9
·
verified ·
1 Parent(s): c40881f

Update Week 7 Libraries and More Python/18. Own programming language, Part 1

Browse files
Week 7 Libraries and More Python/18. Own programming language, Part 1 CHANGED
@@ -86,7 +86,9 @@ def execute(code: str) -> str:
86
  elif line: # Ignore empty lines
87
  raise ValueError(f"Invalid command: {line}")
88
 
89
- return '\n'.join(output)
 
 
90
 
91
 
92
 
 
86
  elif line: # Ignore empty lines
87
  raise ValueError(f"Invalid command: {line}")
88
 
89
+ # return '\n'.join(output)
90
+ for num in output:
91
+ print(num)
92
 
93
 
94