mirror of
https://github.com/rasbt/python_reference.git
synced 2024-11-23 20:11:13 +00:00
Fixed 2 typos (1 important)
Fixed a type causing a code tag not to be formatted correctly, and fixed the answer of Example 1.2 to be 'b' instead of 'a' (which is the text's intent, I believe)
This commit is contained in:
parent
4875e13390
commit
623012b5c8
|
@ -253,7 +253,7 @@
|
|||
"source": [
|
||||
"### Tip:\n",
|
||||
"If we want to print out the dictionary mapping of the global and local variables, we can use the\n",
|
||||
"the functions `global()` and `local()"
|
||||
"the functions `global()` and `local()`"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -951,7 +951,7 @@
|
|||
"cell_type": "code",
|
||||
"collapsed": false,
|
||||
"input": [
|
||||
"print('Example 1.2:', chr(int('01100001',2)))"
|
||||
"print('Example 1.2:', chr(int('01100010',2)))"
|
||||
],
|
||||
"language": "python",
|
||||
"metadata": {},
|
||||
|
@ -1145,4 +1145,4 @@
|
|||
"metadata": {}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user