Right Angle Triangle Code In Python