Python Function To Get Input From User Python Code