Skip to content

Commit dfe281c

Browse files
authored
Update Project 2 - Solution.ipynb
Minor typo
1 parent 6573fe5 commit dfe281c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Part 4/Section 05 - Project 2/Project 2 - Solution.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@
280280
" \n",
281281
" def __imul__(self, other):\n",
282282
" other_value = self._get_value(other)\n",
283-
" self.value = (self.value * other_value) & self.modulus\n",
283+
" self.value = (self.value * other_value) % self.modulus\n",
284284
" return self\n",
285285
" \n",
286286
" def __pow__(self, other):\n",

0 commit comments

Comments
 (0)