Skip to content

fixed multiplication exercises that were effected by markdown #24

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 22, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions week3/Summary.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -121,18 +121,18 @@
"</p>\n",
"\n",
"<code style=\"text-align: left; direction: ltr; float: left; clear: both;\">temp_hash = 1</code><br>\n",
"<code style=\"text-align: left; direction: ltr; float: left; clear: both;\">temp_hash = (temp_hash*ord('a')*1) % 397643</code>\n",
"<samp style=\"text-align: left; direction: ltr; float: left; clear: both;\"># temp_hash = (1*97*1) % 397643 = 97</samp><br>\n",
"<code style=\"text-align: left; direction: ltr; float: left; clear: both;\">temp_hash = (temp_hash * ord('a') * 1) % 397643</code>\n",
"<samp style=\"text-align: left; direction: ltr; float: left; clear: both;\"># temp_hash = (1 * 97 * 1) % 397643 = 97</samp><br>\n",
"\n",
"<p style=\"text-align: right; direction: rtl; float: right; clear: both;\">\n",
" שימו לב שכאן הכפלנו ב־1, כיוון שמיקום האות הוא 0 ואנו מכפילים\n",
" <em>באינדקס האות הבאה.</em>\n",
"</p>\n",
"\n",
"<code style=\"text-align: left; direction: ltr; float: left; clear: both;\">temp_hash = (temp_hash*ord('b')*2) % 397643</code>\n",
"<samp style=\"text-align: left; direction: ltr; float: left; clear: both;\"># temp_hash = (97*98*2) % 397643 = 19012</samp>\n",
"<code style=\"text-align: left; direction: ltr; float: left; clear: both;\">temp_hash = (temp_hash*ord('a')*3) % 397643</code>\n",
"<samp style=\"text-align: left; direction: ltr; float: left; clear: both;\"># temp_hash = (19012*97*3) % 397643 = 363133</samp>\n",
"<code style=\"text-align: left; direction: ltr; float: left; clear: both;\">temp_hash = (temp_hash * ord('b') * 2) % 397643</code>\n",
"<samp style=\"text-align: left; direction: ltr; float: left; clear: both;\"># temp_hash = (97 * 98 * 2) % 397643 = 19012</samp>\n",
"<code style=\"text-align: left; direction: ltr; float: left; clear: both;\">temp_hash = (temp_hash * ord('a') * 3) % 397643</code>\n",
"<samp style=\"text-align: left; direction: ltr; float: left; clear: both;\"># temp_hash = (19012 * 97 * 3) % 397643 = 363133</samp>\n",
"<code style=\"text-align: left; direction: ltr; float: left; clear: both;\">return temp_hash % 100297</code>\n",
"<samp style=\"text-align: left; direction: ltr; float: left; clear: both;\"># temp_hash = 363133 % 100297 = <b>62242</b></samp>"
]
Expand Down Expand Up @@ -853,7 +853,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.4"
"version": "3.7.1"
}
},
"nbformat": 4,
Expand Down