mirror of
https://github.com/kennethreitz/dive-into-python3.git
synced 2026-06-05 15:00:18 +00:00
fixed missing output
This commit is contained in:
@@ -544,6 +544,7 @@ for guess in itertools.permutations(digits, len(characters)):
|
||||
File "<string>", line 1, in <module>
|
||||
NameError: name 'x' is not defined</samp>
|
||||
<a><samp class=p>>>> </samp><kbd class=pp>eval("x * 5", {"x": x}, {})</kbd> <span class=u>②</span></a>
|
||||
<samp class=p>25</span>
|
||||
<samp class=p>>>> </samp><kbd class=pp>import math</kbd>
|
||||
<a><samp class=p>>>> </samp><kbd class=pp>eval("math.sqrt(x)", {"x": x}, {})</kbd> <span class=u>③</span></a>
|
||||
<samp class=traceback>Traceback (most recent call last):
|
||||
|
||||
Reference in New Issue
Block a user