Python Function Define Input Type And Default Value For Variable Java