Using Nested Loops To Print Patterns Python Ide