Python Define Global Variable And Local Variable Java