Python Function Define Input Type And Default Search