Python Function To Get Input From User