How Does Return Function Work In Python