Triangle Pattern Using Python