Tangent Function In Python Definition