Name: Joseph Edradan
Email: [email protected]
output of autorun.py
12 of 15 should be correct because python will use floats if the numerator and denominator do not result into an int.
Running file: advance-for-statement-iteration-return.txt
Python 3.8.4: ['111', '0', '0', '111']
Java Pseudo Python Interpreter: ['111', '0', '0', '111']
Correct
Running file: arithmetic.txt
Python 3.8.4: ['3', '9', '21']
Java Pseudo Python Interpreter: ['3', '9', '21']
Correct
Running file: assign-print-variables.txt
Python 3.8.4: ['1', '2', '3', '4']
Java Pseudo Python Interpreter: ['1', '2', '3', '4']
Correct
Running file: complex-for-statement.txt
Python 3.8.4: ['55', '66', '78', '91', '105', '96', '136', '153', '171', '190', '210']
Java Pseudo Python Interpreter: ['18', '12', '28', '14', '24', '24', '31', '18', '39', '20', '42']
Incorrect
Running file: complex-function.txt
Python 3.8.4: ['27.0']
Java Pseudo Python Interpreter: ['27']
Incorrect
Running file: complex-while-statement.txt
Python 3.8.4: ['1', '2', '3', '4', '6', '8', '9', '12', '16', '18', '24', '36', '48', '72', '144']
Java Pseudo Python Interpreter: ['1', '2', '3', '4', '6', '8', '9', '12', '16', '18', '24', '36', '48', '72', '144']
Correct
Running file: extra-credit.txt
Python 3.8.4: ['10']
Java Pseudo Python Interpreter: ['10']
Correct
Running file: fibonacci-iterative.txt
Python 3.8.4: ['0', '1', '1', '2', '3', '5', '8', '13', '21', '34']
Java Pseudo Python Interpreter: ['0', '1', '1', '2', '3', '5', '8', '13', '21', '34']
Correct
Running file: fibonacci-recursive.txt
Python 3.8.4: ['55']
Java Pseudo Python Interpreter: ['55']
Correct
Running file: if-statements.txt
Python 3.8.4: ['3', '9', '5', '8']
Java Pseudo Python Interpreter: ['3', '9', '5', '8']
Correct
Running file: scopes.txt
Python 3.8.4: ['15', '3']
Java Pseudo Python Interpreter: ['15', '3']
Correct
Running file: simple-for-statement.txt
Python 3.8.4: ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9']
Java Pseudo Python Interpreter: ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9']
Correct
Running file: simple-function.txt
Python 3.8.4: ['0.0', '0.0']
Java Pseudo Python Interpreter: ['2', '0', '1']
Incorrect
Running file: simple-print.txt
Python 3.8.4: ['1', '10', '3']
Java Pseudo Python Interpreter: ['1', '10', '3']
Correct
Running file: simple-while-statement.txt
Python 3.8.4: ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9']
Java Pseudo Python Interpreter: ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9']
Correct
12 out of 15 Correct relative to Python 3.8.4
Original Repo: https://github.com/sfsu-computer-science/a3-interpreter-part-2-josephedradan.git