Question: 1. Write a Python program to print rhomboid patterns. See the triangle pattern program for ideas. a. Start by writing a program to print a
1. Write a Python program to print rhomboid patterns. See the triangle pattern program for ideas.
a. Start by writing a program to print a line of asterisks where the user specifies the number of asterisks.
b. Modify the program to leave one space between asterisks on each line.
c. Modify the program to print a rectangle. Ask the user for the width and height (number of lines).
d. Modify the program to shift each line by one space more than the previous line.
e. Modify the program to ask the user how many spaces to shift on each line.
Upload only the final program. Example usage of the final program:
This program prints rhomboids. Width? 4 Height? 5 Offset? 1 * * * * * * * * * * * * * * * * * * * *
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
