Created using Colaboratory
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
"metadata": {
|
"metadata": {
|
||||||
"colab": {
|
"colab": {
|
||||||
"provenance": [],
|
"provenance": [],
|
||||||
"authorship_tag": "ABX9TyMGGNRd+xcxZ5fAgplmNBSW",
|
"authorship_tag": "ABX9TyNioITtfAcfxEfM3UOfQyb9",
|
||||||
"include_colab_link": true
|
"include_colab_link": true
|
||||||
},
|
},
|
||||||
"kernelspec": {
|
"kernelspec": {
|
||||||
@@ -79,7 +79,7 @@
|
|||||||
"source": [
|
"source": [
|
||||||
"def number_regions(Di, D):\n",
|
"def number_regions(Di, D):\n",
|
||||||
" # TODO -- implement Zaslavsky's formula\n",
|
" # TODO -- implement Zaslavsky's formula\n",
|
||||||
" # You will need to use math.factorial() https://www.geeksforgeeks.org/factorial-in-python/\n",
|
" # You can use math.com() https://www.w3schools.com/python/ref_math_comb.asp\n",
|
||||||
" # Replace this code\n",
|
" # Replace this code\n",
|
||||||
" N = 1;\n",
|
" N = 1;\n",
|
||||||
"\n",
|
"\n",
|
||||||
|
|||||||
Reference in New Issue
Block a user