Summarising How to Think Like a Computer Scientist
Runestone in social media:
Follow @iRunestone
Help support us:
Table of Contents
Book Index
Scratch ActiveCode
Join a Study Group
Group Schedule
Schedule New Chapter
Manage Group
Instructor's Page
Progress Page
Edit Profile
Change Password
Register
Login
Navigation Help
Help for Instructors
About Runestone
Report A Problem
Binomial Coefficient
ΒΆ
Run
Save
Load
def binomial(n,k): if k==0 or k==n : return 1 return binomial(n-1,k-1)+binomial(n-1,k) print(binomial(17,8))
(chrec_binomial)
(chrec_binomial_codelens)
Next Section - Fibonacci