Code For Inverted Triangle Pattern In Python