I have one doubt in the Python Input method.
When I am entering input, it is always considering as String in Python. How to get the Input value in many data types.
As Example:
If I enter Integer value as input then the Code supposed to take that as Integer.
Code:
a=str(input("Enter A Value \n"))
In the above code, it converts my input always as String. Because I used str there.
If I remove str from there and if I type some numbers in the input will it take as an integer?