Skip to content

Commit b27ad2e

Browse files
MAINT: Use print functions in KdV.ipynb.
1 parent ca8745b commit b27ad2e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ipython/KdV.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,11 @@
8888
" T = 200\n",
8989
" t = np.linspace(0, T, 501)\n",
9090
"\n",
91-
" print \"Computing the solution.\"\n",
91+
" print(\"Computing the solution.\")\n",
9292
" sol = kdv_solution(u0, t, L)\n",
9393
"\n",
9494
"\n",
95-
" print \"Plotting.\"\n",
95+
" print(\"Plotting.\")\n",
9696
"\n",
9797
" import matplotlib.pyplot as plt\n",
9898
"\n",

0 commit comments

Comments
 (0)