diff --git a/f23/Gurmail_Lecture_Notes/06_Creating_Functions/lec_06_Creating_Functions.ipynb b/f23/Gurmail_Lecture_Notes/06_Creating_Functions/lec_06_Creating_Functions.ipynb index 04530e8642e792381cea7c08fbd72bc8f1c98792..077222da6b9030d21291d6885f410ba0b3904d48 100644 --- a/f23/Gurmail_Lecture_Notes/06_Creating_Functions/lec_06_Creating_Functions.ipynb +++ b/f23/Gurmail_Lecture_Notes/06_Creating_Functions/lec_06_Creating_Functions.ipynb @@ -1115,7 +1115,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.9.12" + "version": "3.11.4" } }, "nbformat": 4, diff --git a/f23/Gurmail_Lecture_Notes/06_Creating_Functions/lec_06_Creating_functions_template_Gurmail_lec1.ipynb b/f23/Gurmail_Lecture_Notes/06_Creating_Functions/lec_06_Creating_functions_template_Gurmail_lec1.ipynb index 0bc3898046570e91d90fd674845f264938450882..e8449a7b31c16fae21eb07fdfd35a301483a8910 100644 --- a/f23/Gurmail_Lecture_Notes/06_Creating_Functions/lec_06_Creating_functions_template_Gurmail_lec1.ipynb +++ b/f23/Gurmail_Lecture_Notes/06_Creating_Functions/lec_06_Creating_functions_template_Gurmail_lec1.ipynb @@ -270,7 +270,7 @@ "source": [ "# TODO: Change the return to a print function call and run this cell\n", "def cube_no_return(side):\n", - " return side ** 3" + " print(side ** 3)" ] }, { @@ -738,7 +738,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.9.12" + "version": "3.11.4" } }, "nbformat": 4, diff --git a/f23/Gurmail_Lecture_Notes/06_Creating_Functions/lec_06_Creating_functions_template_Gurmail_lec2.ipynb b/f23/Gurmail_Lecture_Notes/06_Creating_Functions/lec_06_Creating_functions_template_Gurmail_lec2.ipynb index 0bc3898046570e91d90fd674845f264938450882..e8449a7b31c16fae21eb07fdfd35a301483a8910 100644 --- a/f23/Gurmail_Lecture_Notes/06_Creating_Functions/lec_06_Creating_functions_template_Gurmail_lec2.ipynb +++ b/f23/Gurmail_Lecture_Notes/06_Creating_Functions/lec_06_Creating_functions_template_Gurmail_lec2.ipynb @@ -270,7 +270,7 @@ "source": [ "# TODO: Change the return to a print function call and run this cell\n", "def cube_no_return(side):\n", - " return side ** 3" + " print(side ** 3)" ] }, { @@ -738,7 +738,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.9.12" + "version": "3.11.4" } }, "nbformat": 4,