1. Write function that will make a rectangle out consisting of any character

  • Make_character_rectangle(height, width, char)
  • Should make height rows of width instances of char

For example, if height = 5 and width = 3, and char = '*', a 5 X 3 rectangle of asterisks would be created, e.g.,


2. Write a function that makes a parallelogram of characters in a similar way

Make_character_parallelogram(height, width, char)

The first line of the parallelogram should be height-1 spaces from the left margin, the second line should be height-2 spaces, and so on until the last line where there are 0 spaces before the first '*'

For example, the following would be produced by the command: character_parallelogram(5,6,'*')


3. Write a timer that prints out every one tenth of a second. It should use the format: Hours:Minutes:Seconds.fraction

For example, 00:00:00.0, 00:00:00.1, 00:00:00.2, etc.

Clarification: use the module time and the function time.sleep

time.sleep(1) ## will pause for one second
Academic Honesty!
It is not our intention to break the school's academic policy. Projects posted are only used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly fill out the form. Please provide a valid email address and we'll get back to you in less than 24 hours. We will be sending an invoice through PayPal upon confirmation. We are a non profit organization however we need an amount to keep this organization running, and to be able to complete our research and development.