Passing Variables To A Function In Python