Java Interface Hackerrank Solution Python Interpreter