Modify examples to be both Python 2 and 3 compatible
For removing dependency on 2to3
This commit is contained in:
parent
2af35cb4ff
commit
89bee6a7fa
37 changed files with 368 additions and 388 deletions
|
|
@ -12,5 +12,5 @@ for i in range(0, 100):
|
|||
a(i) # Note: function call
|
||||
b(math.sqrt(i)) # Note: function call
|
||||
|
||||
print a.result()
|
||||
print b.result()
|
||||
print(a.result())
|
||||
print(b.result())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue