Merge pull request #31 from windlessStorm/patch-1

Fixed typo
This commit is contained in:
Peter Norvig 2017-12-24 22:27:59 -08:00 committed by GitHub
commit c3c24e3124
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1983,7 +1983,7 @@
"outputs": [], "outputs": [],
"source": [ "source": [
"def trip_severity(scanners): \n", "def trip_severity(scanners): \n",
" \"The sum of sevrities for each time the packet is caught.\"\n", " \"The sum of severities for each time the packet is caught.\"\n",
" return sum((d * w if caught(d, w) else 0) \n", " return sum((d * w if caught(d, w) else 0) \n",
" for (d, w) in scanners)\n", " for (d, w) in scanners)\n",
"\n", "\n",