9
Robert Monahan
Last seen 8 years ago
Member for 8 years, 3 months, 8 days
Difficulty Normal
Great code! it's nice you see somebody using comments, that makes it very easy to read.
More
Your code is very clear and easy to read, Great job! It can only push one digit numbers though because command[-1] only grabs the last digit in the str. e.g. 'PUSH 120' would only push the 0 into the stack. command[4:] would allow your code to accept int of any length.
More