Pascals Triangle

Completed Posted Oct 24, 2015 Paid on delivery
Completed Paid on delivery

In this project, we want to generate a Pascal’s triangle. You can get the detailed explanation

from Wikipedia ([login to view URL]'s_triangle).

Project Specification

1. Your program will ask the user to input a positive number that will be used as the height

of triangle. Check for this condition.

2. To generate the triangle, you start from the first row, which is always 1, and the second

row which is always 1 1.

3. After the first two rows, each row at level his generated from the values at row h-1.

Note that the leftmost number and the rightmost number in any row are always 1.

Note that, in row h, there are h numbers.

4. We will use a list to represent a row. Because the triangle consists of multiple rows, we

will require another list to hold all the lists that makes the triangle rows. Thus, we will

have a list of lists.

5. You should include specifications of the function. (Preconditions and Post conditions)

6. You should also write test cases for this program.

7. You should use assert statements in your code.

8. You should test your method thoroughly.

Python

Project ID: #8759844

About the project

4 proposals Remote project Active Oct 24, 2015

Awarded to:

cugamelover

I have a PhD degree in computer science and excellent Python skills. I've done many similar assignments. Please see reviews on my profile. It would be my pleasure to do your project.

$30 USD in 1 day
(25 Reviews)
5.5

4 freelancers are bidding on average $24 for this job

kishorerajendra

I have worked a lot with Python before. If given a opportunity I will provide you the code in two days

$30 USD in 2 days
(0 Reviews)
0.0
ITGeekos

Dear Sir : I have been working as programmer for 5 years and such jobs are my daily practice. This is my first time on this site and hence you can see that I do not have any ratings/testimonials to show you. I can a More

$20 USD in 1 day
(0 Reviews)
0.0
esoteric93

Hi, I have been working in Python for more than one year. This is a simple task and I believe, with my experience, it will be done in a specified time span. I will devote myself fully and I am able to start immediately More

$17 USD in 2 days
(0 Reviews)
0.0