How to get input from a user using python