0
Can we only enter strings using the input?
2 Answers
0
I believe so, try it though
0
In python 2.x there were two options raw_input() and input. By default everything you enter in python as an input it takes that as a string.So, from python 3.x they have kept only input() , you can typecast the input as per your need say, float(input()), int(input()).