Joint Function In Python Programming