Skip to content

paintdog/Pascals-Triangle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

Pascals-Triangle

pascals triangle.py offers functionality to produce a Pascals Triangle and to print it.

>>> n = 5
>>> triangle = get_pascals_triangle(n)
>>> output_triangle(triangle)
    1    
   1 1   
  1 2 1  
 1 3 3 1 
1 4 6 4 1

About

functionality to produce a Pascal's triangle and to print it

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages