I followed this youtube video to make an interactive terminal in sublime text 3. First I installed SublimeREPL. Then I made a New Build System and copied this code in it.