Question: # Pretty Pattern Generator # # NOTE: With the range functions, you may use # one, two, or three parameters to accomplish # your task.
# Pretty Pattern Generator
#
# NOTE: With the range functions, you may use
# one, two, or three parameters to accomplish
# your task.
FillThisIn None # Replace FillThisIn with correct code below
# Ask the user for the number of rows
numrows FillThisIn
# Ask the user for the number of columns
numcolumns FillThisIn
# Iterate over the rows.
for row in rangeFillThisIn:
# Iterate over the columns.
for col in rangeFillThisIn:
# Test if the row and column are even numbered
if FillThisIn and FillThisIn:
print end
else:
print end
# Go to the next row.
print
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
