Skip to content

Commit b1928f6

Browse files
committed
Updated floor division example based on feedback from workshop at EMF
1 parent 5426cb5 commit b1928f6

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,6 @@ data/Penguins/my_penguins.csv
1414

1515
# Other
1616
.DS_Store
17+
.vscode
1718

1819
env_workshop/

notebooks/1. Beginning with Python.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -856,7 +856,7 @@
856856
"source": [
857857
"**Division and modulo**\n",
858858
"- The sign for division is **`/`**.\n",
859-
"- The sign for floor division is **`//`**. It returns the \"quotient\" of a division - how many times one number goes into another. (\"If six people can sit around a dinner table, and we have 99 guests coming, how many tables do we need?\")\n",
859+
"- The sign for floor division is **`//`**. It returns the \"quotient\" of a division - how many times one number goes into another. (\"If a carton holds six eggs, and we have 99 eggs, how many cartons can we fill?\")\n",
860860
"- The **`%`** sign is the [modulo](https://en.wikipedia.org/wiki/Modulo_operation), which returns the \"remainder\" after division."
861861
]
862862
},

0 commit comments

Comments
 (0)