This may be repeated, but none of the existing answers solved my problem.
So, I'm using
number = int(raw_input('Number : '))
To fix this issue, you can install a package called SublimeREPL. SublimeREPL provides a Python interpreter that takes in input.
And as for compileronline.com, you need to provide input in the "STDIN Input" field on the lower right of the website.