Lab PatternX
This lab is to be done on your own.
Create a python module named patternx.py that does the following:
- Comments at the top of the module with your name, date, and description.
- Prompt for the number of rows.
- Print an X pattern on the screen based on the number of rows. 5 points.
- Print an X pattern with a box around it based on the number of rows. 5 points.
- Note: You must use nested loops to do this assignment. Refer to the hints given to you.
Submit this program two ways:
- As a .py code file.
- As a screenshot in .jpg or .png format showing the program code and output. Your test runs must use the same input test data as in the screenshot below. So you must run the program twice using 6 and 11 as data inputs. Make sure you capture your entire desktop.