Triangle Type Program In Python To Convert