Homework 6: Parallelogram Program

Objective: To use functions to output a parallelogram of the specified size and makeup, using text.

Write a program that behaves as shown below (on Linux):

[cpersiko@fog cs110a]$ python3 parallelogramFunction.py.txt 
This program will output a parallelogram.
How long do you want each side to be? 5
Please enter the character you want it to be made of: *
*
**
***
****
*****
 ****
  ***
   **
    *
[cpersiko@fog cs110a]$ python3 parallelogramFunction.py.txt 
This program will output a parallelogram.
How long do you want each side to be? 8
Please enter the character you want it to be made of: @
@
@@
@@@
@@@@
@@@@@
@@@@@@
@@@@@@@
@@@@@@@@
 @@@@@@@
  @@@@@@
   @@@@@
    @@@@
     @@@
      @@
       @
[cpersiko@fog cs110a]$ 

Here are the rules: