Print Diamond Pattern In Python Using Global Variables