Added Problem 15
This commit is contained in:
parent
5ae21a2b02
commit
f17c9ecacd
12
Problem_015.py
Normal file
12
Problem_015.py
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
######################################################################
|
||||||
|
# Starting in the top left corner of a 2×2 grid, and only being able to
|
||||||
|
# move to the right and down, there are exactly 6 routes to the bottom right corner.
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# How many such routes are there through a 20×20 grid?
|
||||||
|
#
|
||||||
|
######################################################################
|
||||||
|
|
||||||
|
# Look at Pascal's triangle ;)
|
||||||
|
|
||||||
|
# Solution:
|
Loading…
Reference in a new issue