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