Skip to content

Commit e66714d

Browse files
authored
Merge pull request jerry-git#6 from vivek28111992/patch-1
Store the return value of str.replace
2 parents 7287b5e + b06a2c9 commit e66714d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

notebooks/beginner/strings.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
"metadata": {},
9393
"outputs": [],
9494
"source": [
95-
"my_string.replace('a', '?')\n",
95+
"my_string = my_string.replace('a', '?')\n",
9696
"print(my_string)"
9797
]
9898
},

0 commit comments

Comments
 (0)