Reverse Star Pattern In Python Using Global Variables