In python2 the input()
function does not convert the input to string as it is done in python3.
For eg in python2
if input is :-
[[1, 2, 3], [4, 5, 6]]
then this returns a 2d List
But in python3 the input()
function converts the input to string
Is there any similar function in python3 which prevents the typecasting of input to string ?