I am very new here and Python programming as well. I am using Pycharm. I read in a book that input function returns string value by default. But in my case, it returns integer by default. What is the problem? Please help me. I have written exactly this in pycharm. And it returns integer value directly.
number=input("Enter a number:")
print(number)
print(type(number))
output shows the number correctly that I input. But the type shows <type 'int'>. Please help me.