##// END OF EJS Templates
print is a function in Python 3
Julia Evans -
Show More
@@ -24,7 +24,7 b''
24 24 "input": [
25 25 "for i in range(10):\n",
26 26 " clear_output()\n",
27 " print i"
27 " print(i)"
28 28 ],
29 29 "language": "python",
30 30 "metadata": {},
@@ -24,7 +24,7 b''
24 24 "input": [
25 25 "for m in range(10):\n",
26 26 " i, j = j, i + j\n",
27 " print j"
27 " print(j)"
28 28 ],
29 29 "language": "python",
30 30 "metadata": {},
@@ -11,7 +11,7 b''
11 11 "cell_type": "code",
12 12 "collapsed": false,
13 13 "input": [
14 "print \"Hello World\""
14 "print(\"Hello World\")"
15 15 ],
16 16 "language": "python",
17 17 "metadata": {},
@@ -33,7 +33,7 b''
33 33 "cell_type": "code",
34 34 "collapsed": false,
35 35 "input": [
36 "print 'ok'"
36 "print('ok')"
37 37 ],
38 38 "language": "python",
39 39 "metadata": {},
@@ -11,7 +11,7 b''
11 11 "cell_type": "code",
12 12 "collapsed": false,
13 13 "input": [
14 "print '\u2603'"
14 "print('\u2603')"
15 15 ],
16 16 "language": "python",
17 17 "metadata": {},
@@ -23,7 +23,7 b''
23 23 "input": [
24 24 "for i in range(10):\n",
25 25 " clear_output()\n",
26 " print i"
26 " print(i)"
27 27 ],
28 28 "language": "python",
29 29 "metadata": {},
@@ -23,7 +23,7 b''
23 23 "input": [
24 24 "for m in range(10):\n",
25 25 " i, j = j, i + j\n",
26 " print j"
26 " print(j)"
27 27 ],
28 28 "language": "python",
29 29 "metadata": {},
@@ -11,7 +11,7 b''
11 11 "cell_type": "code",
12 12 "collapsed": false,
13 13 "input": [
14 "print \"Hello World\""
14 "print(\"Hello World\")"
15 15 ],
16 16 "language": "python",
17 17 "metadata": {},
@@ -33,7 +33,7 b''
33 33 "cell_type": "code",
34 34 "collapsed": false,
35 35 "input": [
36 "print 'ok'"
36 "print('ok')"
37 37 ],
38 38 "language": "python",
39 39 "metadata": {},
@@ -11,7 +11,7 b''
11 11 "cell_type": "code",
12 12 "collapsed": false,
13 13 "input": [
14 "print '\u2603'"
14 "print('\u2603')"
15 15 ],
16 16 "language": "python",
17 17 "metadata": {},
General Comments 0
You need to be logged in to leave comments. Login now