Basic Star Pattern In Python Using Global Variables