• + 0 comments

    This maybe a matter of your python version. In python 2 , input takes only integer inputs and raw_input takes strings, ints and floats. In python 3, there is only one input() function which is practically same as raw_input in Python2.

    Long story short, the code above is in Python3, so suit yourself.